Home
last modified time | relevance | path

Searched refs:x_win (Results 1 – 5 of 5) sorted by relevance

/external/quake/quake/src/WinQuake/
Din_sun.cpp53 extern Window x_win, x_root_win;
84 XSelectInput( x_disp, x_win, x_std_event_mask & ~PointerMotionMask ); in IN_CenterMouse()
87 XSelectInput( x_disp, x_win, x_std_event_mask ); in IN_CenterMouse()
105 XGrabKeyboard(x_disp, x_win, True, GrabModeAsync, GrabModeAsync, CurrentTime); in CheckMouseState()
106 XGrabPointer(x_disp, x_win, True, in CheckMouseState()
Dvid_sunxil.cpp132 Window x_win, x_root_win; variable
242 if(XGetWindowAttributes(x_disp, x_win, & wattr) == 0) in CheckPixelMultiply()
254 XConfigureWindow(x_disp, x_win, CWWidth | CWHeight, &chg); in CheckPixelMultiply()
557 x_win = XCreateWindow( x_disp, in VID_Init()
577 x_cmap = XCreateColormap(x_disp, x_win, x_vis, AllocAll); in VID_Init()
579 XSetWindowColormap(x_disp, x_win, x_cmap); in VID_Init()
584 VID_SetWindowTitle( x_win, "Quake" ); in VID_Init()
587 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in VID_Init()
594 x_gc = XCreateGC(x_disp, x_win, valuemask, &xgcvalues ); in VID_Init()
598 XMapWindow(x_disp, x_win); in VID_Init()
[all …]
Dvid_sunx.cpp118 Window x_win, x_root_win; variable
710 x_win = XCreateWindow( x_disp, in VID_Init()
732 x_cmap = XCreateColormap(x_disp, x_win, x_vis, AllocAll); in VID_Init()
734 XSetWindowColormap(x_disp, x_win, x_cmap); in VID_Init()
739 VID_SetWindowTitle( x_win, "Quake" ); in VID_Init()
746 x_gc = XCreateGC(x_disp, x_win, valuemask, &xgcvalues ); in VID_Init()
750 XMapWindow(x_disp, x_win); in VID_Init()
850 XUndefineCursor(x_disp, x_win); in VID_Shutdown()
957 XSelectInput(x_disp,x_win, STD_EVENT_MASK & ~PointerMotionMask); in GetEvent()
958 XWarpPointer(x_disp,None,x_win,0,0,0,0, (vid.width/2),(vid.height/2)); in GetEvent()
[all …]
Dvid_x.cpp77 static Window x_win; variable
582 x_win = XCreateWindow( x_disp, in VID_Init()
592 XStoreName( x_disp,x_win,"xquake"); in VID_Init()
604 x_cmap = XCreateColormap(x_disp, x_win, x_vis, AllocAll); in VID_Init()
606 XSetWindowColormap(x_disp, x_win, x_cmap); in VID_Init()
611 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in VID_Init()
618 x_gc = XCreateGC(x_disp, x_win, valuemask, &xgcvalues ); in VID_Init()
622 XMapWindow(x_disp, x_win); in VID_Init()
887 XSelectInput(x_disp,x_win,StructureNotifyMask|KeyPressMask in GetEvent()
891 XWarpPointer(x_disp,None,x_win,0,0,0,0, in GetEvent()
[all …]
/external/quake/quake/src/QW/client/
Dvid_x.c83 static Window x_win; variable
505 x_win = XCreateWindow( x_disp, in VID_Init()
515 XStoreName( x_disp,x_win,"xquake"); in VID_Init()
529 x_cmap = XCreateColormap(x_disp, x_win, x_vis, AllocAll); in VID_Init()
531 XSetWindowColormap(x_disp, x_win, x_cmap); in VID_Init()
537 XDefineCursor(x_disp, x_win, CreateNullCursor(x_disp, x_win)); in VID_Init()
544 x_gc = XCreateGC(x_disp, x_win, valuemask, &xgcvalues ); in VID_Init()
548 XMapWindow(x_disp, x_win); in VID_Init()
812 XSelectInput(x_disp,x_win,StructureNotifyMask|KeyPressMask in GetEvent()
816 XWarpPointer(x_disp,None,x_win,0,0,0,0, in GetEvent()
[all …]