/external/quake/quake/src/WinQuake/ |
D | in_sun.cpp | 49 extern Display *x_disp; 84 XSelectInput( x_disp, x_win, x_std_event_mask & ~PointerMotionMask ); in IN_CenterMouse() 85 XWarpPointer( x_disp, None, x_root_win, 0, 0, 0, 0, x_center_width, in IN_CenterMouse() 87 XSelectInput( x_disp, x_win, x_std_event_mask ); in IN_CenterMouse() 99 if (XGetPointerControl( x_disp, &x_mouse_num, &x_mouse_denom, &x_mouse_thresh )) in CheckMouseState() 104 XAutoRepeatOff(x_disp); in CheckMouseState() 105 XGrabKeyboard(x_disp, x_win, True, GrabModeAsync, GrabModeAsync, CurrentTime); in CheckMouseState() 106 XGrabPointer(x_disp, x_win, True, in CheckMouseState() 122 if (XChangePointerControl( x_disp, True, True, x_mouse_num, x_mouse_denom, x_mouse_thresh )) in CheckMouseState() 125 XUngrabPointer( x_disp, CurrentTime ); in CheckMouseState() [all …]
|
D | vid_sunx.cpp | 114 Display *x_disp = NULL; variable 411 x_framebuffer[0] = XCreateImage( x_disp, in ResetFrameBuffer() 445 XShmDetach(x_disp, &x_shminfo[frm]); in ResetSharedFrameBuffers() 452 x_framebuffer[frm] = XShmCreateImage( x_disp, in ResetSharedFrameBuffers() 484 if (!XShmAttach(x_disp, &x_shminfo[frm])) in ResetSharedFrameBuffers() 486 XSync(x_disp, 0); in ResetSharedFrameBuffers() 531 XSetWMProperties( x_disp, win, &textprop, &textprop, in VID_SetWindowTitle() 536 aWMDelete = XInternAtom( x_disp, "WM_DELETE_WINDOW", False ); in VID_SetWindowTitle() 537 XSetWMProtocols( x_disp, win, &aWMDelete, 1 ); in VID_SetWindowTitle() 549 aHints = XInternAtom( x_disp, "_MOTIF_WM_HINTS", 0 ); in VID_FullScreen() [all …]
|
D | vid_sunxil.cpp | 128 Display *x_disp = NULL; variable 242 if(XGetWindowAttributes(x_disp, x_win, & wattr) == 0) in CheckPixelMultiply() 254 XConfigureWindow(x_disp, x_win, CWWidth | CWHeight, &chg); in CheckPixelMultiply() 277 XCloseDisplay(x_disp); in TragicDeath() 346 XSetWMProperties( x_disp, win, &textprop, &textprop, in VID_SetWindowTitle() 351 aWMDelete = XInternAtom( x_disp, "WM_DELETE_WINDOW", False ); in VID_SetWindowTitle() 352 XSetWMProtocols( x_disp, win, &aWMDelete, 1 ); in VID_SetWindowTitle() 364 aHints = XInternAtom( x_disp, "_MOTIF_WM_HINTS", 0 ); in VID_FullScreen() 372 XChangeProperty( x_disp, win, aHints, aHints, 32, PropModeReplace, (unsigned char *)&hints, 4 ); in VID_FullScreen() 379 XConfigureWindow( x_disp, win, CWX | CWY | CWWidth | CWHeight | CWStackMode, &changes); in VID_FullScreen() [all …]
|
D | vid_x.cpp | 75 static Display *x_disp; variable 262 XAutoRepeatOn(x_disp); in TragicDeath() 263 XCloseDisplay(x_disp); in TragicDeath() 332 x_framebuffer[0] = XCreateImage( x_disp, in ResetFrameBuffer() 390 XShmDetach(x_disp, &x_shminfo[frm]); in ResetSharedFrameBuffers() 397 x_framebuffer[frm] = XShmCreateImage( x_disp, in ResetSharedFrameBuffers() 429 if (!XShmAttach(x_disp, &x_shminfo[frm])) in ResetSharedFrameBuffers() 431 XSync(x_disp, 0); in ResetSharedFrameBuffers() 466 x_disp = XOpenDisplay(0); in VID_Init() 467 if (!x_disp) in VID_Init() [all …]
|
/external/quake/quake/src/QW/client/ |
D | vid_x.c | 81 static Display *x_disp; variable 183 XAutoRepeatOn(x_disp); in TragicDeath() 184 XCloseDisplay(x_disp); in TragicDeath() 253 x_framebuffer[0] = XCreateImage( x_disp, in ResetFrameBuffer() 311 XShmDetach(x_disp, &x_shminfo[frm]); in ResetSharedFrameBuffers() 318 x_framebuffer[frm] = XShmCreateImage( x_disp, in ResetSharedFrameBuffers() 350 if (!XShmAttach(x_disp, &x_shminfo[frm])) in ResetSharedFrameBuffers() 352 XSync(x_disp, 0); in ResetSharedFrameBuffers() 389 x_disp = XOpenDisplay(0); in VID_Init() 390 if (!x_disp) in VID_Init() [all …]
|