X RandR Extension Functions

Functions related to the X RandR extension. More...

Functions

EAPI Eina_Bool ecore_x_randr_query (void)
 Return whether the X server supports the RandR Extension.
EAPI void ecore_x_randr_get_screen_info_prefetch (Ecore_X_Window window)
 Select if the ScreenChangeNotify events will be sent.
EAPI void ecore_x_randr_get_screen_info_fetch (void)
 Gets the reply of the GetScreenInfo request sent by ecore_x_randr_get_screen_info_prefetch().

Detailed Description

Functions related to the X RandR extension.


Function Documentation

EAPI void ecore_x_randr_get_screen_info_prefetch ( Ecore_X_Window  window  ) 

Select if the ScreenChangeNotify events will be sent.

Parameters:
window The window.
on 1 to enable, 0 to disable.
Returns:
1 on success, 0 otherwise.

If on value is 1, ScreenChangeNotify events will be sent when the screen configuration changes, either from this protocol extension, or due to detected external screen configuration changes. ScreenChangeNotify may also be sent when this request executes if the screen configuration has changed since the client connected, to avoid race conditions. Sends the GetScreenInfo request.

Parameters:
window Window whose properties are requested.
EAPI Eina_Bool ecore_x_randr_query ( void   ) 

Return whether the X server supports the RandR Extension.

Returns:
1 if the X RandR Extension is available, 0 otherwise.

Return 1 if the X server supports the RandR Extension version 1.1, 0 otherwise.