Lines Matching refs:screen
34 static xcb_screen_t *screen_of_display(xcb_connection_t *xcb, int screen) {
40 for (; iter.rem; --screen, xcb_screen_next(&iter))
41 if (0 == screen)
47 void pa_x11_set_prop(xcb_connection_t *xcb, int screen, const char *name, const char *data) {
55 if ((xs = screen_of_display(xcb, screen))) {
70 void pa_x11_del_prop(xcb_connection_t *xcb, int screen, const char *name) {
77 if ((xs = screen_of_display(xcb, screen))) {
89 char* pa_x11_get_prop(xcb_connection_t *xcb, int screen, const char *name, char *p, size_t l) {
101 xs = screen_of_display(xcb, screen);
103 * Also try and get the settings from the first screen.
104 * This allows for e.g. a Media Center to run on screen 1 (e.g. HDMI) and have
105 * different defaults (e.g. prefer the HDMI sink) than the primary screen 0
108 if (!xs && 0 != screen)