X Xinerama Extension Functions
Functions related to the X Xinerama extension. More...
Functions | |
EAPI int | ecore_x_xinerama_query (void) |
Return whether the X server supports the Xinerama Extension. | |
EAPI void | ecore_x_xinerama_query_screens_prefetch (void) |
Sends the XineramaQueryScreens request. | |
EAPI void | ecore_x_xinerama_query_screens_fetch (void) |
Gets the reply of the XineramaQueryScreens request sent by ecore_x_xinerama_query_screens_prefetch(). | |
EAPI int | ecore_x_xinerama_screen_count_get (void) |
Return the number of screens. | |
EAPI int | ecore_x_xinerama_screen_geometry_get (int screen, int *x, int *y, int *width, int *height) |
Get the geometry of the screen. |
Detailed Description
Functions related to the X Xinerama extension.Function Documentation
EAPI int ecore_x_xinerama_query | ( | void | ) |
Return whether the X server supports the Xinerama Extension.
- Returns:
- 1 if the X Xinerama Extension is available, 0 otherwise.
EAPI int ecore_x_xinerama_screen_count_get | ( | void | ) |
Return the number of screens.
- Returns:
- The screen count.
To use this function, you must call before, and in order, ecore_x_xinerama_query_screens_prefetch(), which sends the XineramaQueryScreens request, then ecore_x_xinerama_query_screens_fetch(), which gets the reply.
EAPI int ecore_x_xinerama_screen_geometry_get | ( | int | screen, | |
int * | x, | |||
int * | y, | |||
int * | width, | |||
int * | height | |||
) |
Get the geometry of the screen.
- Parameters:
-
screen The screen (Unused). x The X coordinate of the screen. y The Y coordinate of the screen width The width of the screen height The height of the screen
- Returns:
- 1 on success, 0 otherwise.
screen
. The returned values are stored in x
, y
, width
and height
.To use this function, you must call before, and in order, ecore_x_xinerama_query_screens_prefetch(), which sends the XineramaQueryScreens request, then ecore_x_xinerama_query_screens_fetch(), which gets the reply.