* gtk2_api.cpp: Various gtk2-specific functions
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: gtk2_api.cpp,v 1.14 2003/04/22 19:26:02 asmax Exp $
+ * $Id: gtk2_api.cpp,v 1.15 2003/04/24 14:38:06 asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
long param2 )
{
GdkEventClient *event = (GdkEventClient *) new GdkEvent;
-
+
event->type = GDK_CLIENT_EVENT;
if( win == NULL )
{
//---------------------------------------------------------------------------
void OSAPI_GetScreenSize( int &w, int &h )
{
-/* w = GetSystemMetrics(SM_CXSCREEN);
- h = GetSystemMetrics(SM_CYSCREEN);*/
+ w = gdk_screen_width();
+ h = gdk_screen_height();
}
//---------------------------------------------------------------------------
void OSAPI_GetMousePos( int &x, int &y )