Lines Matching refs:x11_display
124 Display *x11_display = NULL; variable
1230 if (x11_display != NULL) in loose_clipboard()
1231 XFlush(x11_display); in loose_clipboard()
1694 x11_display = NULL; in x_IOerror_handler()
1723 x11_display = NULL; // freed by XtDestroyApplicationContext() in may_restore_clipboard()
1816 if (x11_display_from == XD_HERE && x11_display != NULL) in get_x11_windis()
1818 XCloseDisplay(x11_display); in get_x11_windis()
1821 if (gui_get_x11_windis(&x11_window, &x11_display) == OK) in get_x11_windis()
1826 x11_display = NULL; in get_x11_windis()
1833 x11_display = NULL; in get_x11_windis()
1852 if (xterm_dpy == x11_display) in get_x11_windis()
1866 if (x11_display_from == XD_HERE && x11_display != NULL) in get_x11_windis()
1867 XCloseDisplay(x11_display); in get_x11_windis()
1868 x11_display = xterm_dpy; in get_x11_windis()
1871 if (test_x11_window(x11_display) == FAIL) in get_x11_windis()
1875 x11_display = NULL; in get_x11_windis()
1883 if (x11_window == 0 || x11_display == NULL) in get_x11_windis()
1889 if (x11_window != 0 && x11_display == NULL) in get_x11_windis()
1911 x11_display = XOpenDisplay(NULL); in get_x11_windis()
1919 if (x11_display != NULL) in get_x11_windis()
1929 if (test_x11_window(x11_display) == FAIL) in get_x11_windis()
1933 XCloseDisplay(x11_display); in get_x11_windis()
1934 x11_display = NULL; in get_x11_windis()
1940 if (x11_window == 0 || x11_display == NULL) in get_x11_windis()
1994 status = XGetWMName(x11_display, x11_window, &text_prop); in get_x11_thing()
1996 status = XGetWMIconName(x11_display, x11_window, &text_prop); in get_x11_thing()
2016 if (!XQueryTree(x11_display, win, &root, &parent, &children, in get_x11_thing()
2026 status = XGetWMName(x11_display, win, &text_prop); in get_x11_thing()
2028 status = XGetWMIconName(x11_display, win, &text_prop); in get_x11_thing()
2053 transform_status = XmbTextPropertyToTextList(x11_display, in get_x11_thing()
2102 Xutf8SetWMProperties(x11_display, x11_window, (const char *)title, in set_x11_title()
2109 XmbSetWMProperties(x11_display, x11_window, (const char *)title, in set_x11_title()
2117 XSetWMProperties(x11_display, x11_window, &text_prop, in set_x11_title()
2121 XStoreName(x11_display, x11_window, (char *)title); in set_x11_title()
2124 XFlush(x11_display); in set_x11_title()
2138 Xutf8SetWMProperties(x11_display, x11_window, NULL, (const char *)icon, in set_x11_icon()
2145 XmbSetWMProperties(x11_display, x11_window, NULL, (const char *)icon, in set_x11_icon()
2152 XSetWMProperties(x11_display, x11_window, NULL, &text_prop, in set_x11_icon()
2156 XSetIconName(x11_display, x11_window, (char *)icon); in set_x11_icon()
2159 XFlush(x11_display); in set_x11_icon()
3336 x11_display = NULL; // freed by XtDestroyApplicationContext() in mch_free_mem()
3342 if (x11_display != NULL in mch_free_mem()
3344 && x11_display != xterm_dpy in mch_free_mem()
3347 XCloseDisplay(x11_display); in mch_free_mem()
7677 if (x11_display == NULL) in setup_term_clip()
7678 x11_display = xterm_dpy; in setup_term_clip()
7817 if (x11_display == xterm_dpy) in clear_xterm_clip()
7818 x11_display = NULL; in clear_xterm_clip()