New upstream version 23.2.1+dfsg1
This commit is contained in:
parent
cdc9a9fc87
commit
b14f9eae6d
1017 changed files with 37232 additions and 11111 deletions
|
|
@ -64,6 +64,39 @@ int xinerama_screen_geo(xcb_connection_t *xcb, int_fast32_t screen,
|
|||
int_fast32_t *x, int_fast32_t *y,
|
||||
int_fast32_t *w, int_fast32_t *h);
|
||||
|
||||
/**
|
||||
* Check for Randr extension
|
||||
*
|
||||
* @return true if randr is available which means it's active.
|
||||
*/
|
||||
bool randr_is_active(xcb_connection_t *xcb);
|
||||
|
||||
/**
|
||||
* Get the number of Randr screens
|
||||
*
|
||||
* @return number of screens
|
||||
*/
|
||||
int randr_screen_count(xcb_connection_t *xcb);
|
||||
|
||||
/**
|
||||
* Get screen geometry for a Rand crtc (screen)
|
||||
*
|
||||
* @note On error the passed coordinates/sizes will be set to 0.
|
||||
*
|
||||
* @param xcb xcb connection
|
||||
* @param screen screen number to get geometry for
|
||||
* @param x x-coordinate of the screen
|
||||
* @param y y-coordinate of the screen
|
||||
* @param w width of the screen
|
||||
* @param h height of the screen
|
||||
*
|
||||
* @return < 0 on error
|
||||
*/
|
||||
int randr_screen_geo(xcb_connection_t *xcb, int_fast32_t screen,
|
||||
int_fast32_t *x, int_fast32_t *y,
|
||||
int_fast32_t *w, int_fast32_t *h,
|
||||
xcb_screen_t **rscreen);
|
||||
|
||||
/**
|
||||
* Get screen geometry for a X11 screen
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue