Lines Matching refs:x_event
570 XEvent x_event; in GetEvent() local
573 XNextEvent(x_disp, &x_event); in GetEvent()
574 switch(x_event.type) { in GetEvent()
576 keyq[keyq_head].key = XLateKey(&x_event.xkey); in GetEvent()
581 keyq[keyq_head].key = XLateKey(&x_event.xkey); in GetEvent()
588 mx += ((int)x_event.xmotion.x - (int)(vid.width/2)); in GetEvent()
589 my += ((int)x_event.xmotion.y - (int)(vid.height/2)); in GetEvent()
597 mx = ((int)x_event.xmotion.x - (int)p_mouse_x); in GetEvent()
598 my = ((int)x_event.xmotion.y - (int)p_mouse_y); in GetEvent()
599 p_mouse_x=x_event.xmotion.x; in GetEvent()
600 p_mouse_y=x_event.xmotion.y; in GetEvent()
606 if (x_event.xbutton.button == 1) in GetEvent()
608 else if (x_event.xbutton.button == 2) in GetEvent()
610 else if (x_event.xbutton.button == 3) in GetEvent()
618 if (x_event.xbutton.button == 1) in GetEvent()
620 else if (x_event.xbutton.button == 2) in GetEvent()
622 else if (x_event.xbutton.button == 3) in GetEvent()
629 config_notify_width = x_event.xconfigure.width; in GetEvent()
630 config_notify_height = x_event.xconfigure.height; in GetEvent()
635 if (doShm && x_event.type == x_shmeventtype) in GetEvent()