added xlib implementation for ecore_x_default_screen_get

SVN revision: 40511
This commit is contained in:
Andreas Volz 2009-05-05 18:50:29 +00:00
parent 892c085276
commit f73ad689da
1 changed files with 11 additions and 0 deletions

View File

@ -565,6 +565,17 @@ ecore_x_fd_get(void)
return ConnectionNumber(_ecore_x_disp);
}
/**
* Retrieves the Ecore_X_Screen handle used for the current X connection.
* @return The current default screen.
* @ingroup Ecore_Xcb_Display_Attr_Group
*/
EAPI Ecore_X_Screen*
ecore_x_default_screen_get(void)
{
return (Ecore_X_Screen*) DefaultScreenOfDisplay(_ecore_x_disp);
}
/**
* Sets the timeout for a double and triple clicks to be flagged.
*