Lines Matching refs:x_event
863 XEvent x_event; in GetEvent() local
866 XNextEvent(x_disp, &x_event); in GetEvent()
867 switch(x_event.type) { in GetEvent()
869 keyq[keyq_head].key = XLateKey(&x_event.xkey); in GetEvent()
874 keyq[keyq_head].key = XLateKey(&x_event.xkey); in GetEvent()
881 mouse_x = (float) ((int)x_event.xmotion.x - (int)(vid.width/2)); in GetEvent()
882 mouse_y = (float) ((int)x_event.xmotion.y - (int)(vid.height/2)); in GetEvent()
898 mouse_x = (float) (x_event.xmotion.x-p_mouse_x); in GetEvent()
899 mouse_y = (float) (x_event.xmotion.y-p_mouse_y); in GetEvent()
900 p_mouse_x=x_event.xmotion.x; in GetEvent()
901 p_mouse_y=x_event.xmotion.y; in GetEvent()
907 if (x_event.xbutton.button == 1) in GetEvent()
909 else if (x_event.xbutton.button == 2) in GetEvent()
911 else if (x_event.xbutton.button == 3) in GetEvent()
919 if (x_event.xbutton.button == 1) in GetEvent()
921 else if (x_event.xbutton.button == 2) in GetEvent()
923 else if (x_event.xbutton.button == 3) in GetEvent()
931 config_notify_width = x_event.xconfigure.width; in GetEvent()
932 config_notify_height = x_event.xconfigure.height; in GetEvent()
937 if (doShm && x_event.type == x_shmeventtype) in GetEvent()