Lines Matching refs:s_display
37 static Display *s_display = NULL; variable
53 if (!s_display) { in createSubWindow()
54 s_display = x11->XOpenDisplay(NULL); in createSubWindow()
60 Window win = x11->XCreateWindow(s_display, in createSubWindow()
73 x11->XMapWindow(s_display,win); in createSubWindow()
74 x11->XSetWindowBackground(s_display, win, 0); in createSubWindow()
76 x11->XIfEvent(s_display, &e, WaitForMapNotify, (char *)win); in createSubWindow()
82 if (!s_display) { in destroySubWindow()
86 getX11Api()->XDestroyWindow(s_display, win); in destroySubWindow()
98 if (!s_display) { in moveSubWindow()
112 if (!x11->XGetWindowAttributes(s_display, p_sub_window, &attrs)) { in moveSubWindow()
122 x11->XSetWindowBackgroundPixmap(s_display, p_sub_window, None); in moveSubWindow()
125 s_display, in moveSubWindow()
133 x11->XIfEvent(s_display, &e, WaitForConfigureNotify, (char *)p_sub_window); in moveSubWindow()