Lines Matching refs:x_event
930 XEvent x_event; in GetEvent() local
932 XNextEvent(x_disp, &x_event); in GetEvent()
933 switch(x_event.type) in GetEvent()
936 Key_Event(XLateKey(&x_event.xkey), true); in GetEvent()
939 Key_Event(XLateKey(&x_event.xkey), false); in GetEvent()
943 Key_Event( K_MOUSE1 + x_event.xbutton.button - 1, true ); in GetEvent()
947 Key_Event( K_MOUSE1 + x_event.xbutton.button - 1, false ); in GetEvent()
951 mouse_x = (float) ((int)x_event.xmotion.x - (int)(vid.width/2)); in GetEvent()
952 mouse_y = (float) ((int)x_event.xmotion.y - (int)(vid.height/2)); in GetEvent()
961 mouse_x = (float) (x_event.xmotion.x-p_mouse_x); in GetEvent()
962 mouse_y = (float) (x_event.xmotion.y-p_mouse_y); in GetEvent()
963 p_mouse_x=x_event.xmotion.x; in GetEvent()
964 p_mouse_y=x_event.xmotion.y; in GetEvent()
970 config_notify_width = x_event.xconfigure.width; in GetEvent()
971 config_notify_height = x_event.xconfigure.height; in GetEvent()
979 if (x_event.xclient.data.l[0] == aWMDelete) Host_Quit_f(); in GetEvent()
989 if (doShm && x_event.type == x_shmeventtype) in GetEvent()