Home | History | Annotate | Download | only in WinQuake

Lines Matching refs:x_event

829 	XEvent x_event;
832 XNextEvent(x_disp, &x_event);
833 switch(x_event.type) {
835 Key_Event(XLateKey(&x_event.xkey), true);
838 Key_Event(XLateKey(&x_event.xkey), false);
844 mouse_x = (float) ((int)x_event.xmotion.x - (int)(vid.width/2));
845 mouse_y = (float) ((int)x_event.xmotion.y - (int)(vid.height/2));
847 // x_event.xmotion.x, x_event.xmotion.y, mouse_x, mouse_y);
855 mouse_x = (float) (x_event.xmotion.x-p_mouse_x);
856 mouse_y = (float) (x_event.xmotion.y-p_mouse_y);
857 p_mouse_x=x_event.xmotion.x;
858 p_mouse_y=x_event.xmotion.y;
864 if (x_event.xbutton.button == 1)
866 else if (x_event.xbutton.button == 2)
868 else if (x_event.xbutton.button == 3)
876 if (x_event.xbutton.button == 1)
878 else if (x_event.xbutton.button == 2)
880 else if (x_event.xbutton.button == 3)
888 config_notify_width = x_event.xconfigure.width;
889 config_notify_height = x_event.xconfigure.height;
897 if (x_event.xclient.data.l[0] == aWMDelete) Host_Quit_f();