Lines Matching refs:button
1023 int button; in gui_x11_mouse_cb() local
1035 button = (x_modifiers & (Button1Mask | Button2Mask | Button3Mask)) in gui_x11_mouse_cb()
1043 if (button != MOUSE_DRAG) // just moving the rodent in gui_x11_mouse_cb()
1068 switch (event->xbutton.button) in gui_x11_mouse_cb()
1071 case Button1: button = MOUSE_LEFT; break; in gui_x11_mouse_cb()
1072 case Button2: button = MOUSE_MIDDLE; break; in gui_x11_mouse_cb()
1073 case Button3: button = MOUSE_RIGHT; break; in gui_x11_mouse_cb()
1074 case Button4: button = MOUSE_4; break; in gui_x11_mouse_cb()
1075 case Button5: button = MOUSE_5; break; in gui_x11_mouse_cb()
1076 case 6: button = MOUSE_7; break; in gui_x11_mouse_cb()
1077 case 7: button = MOUSE_6; break; in gui_x11_mouse_cb()
1078 case 8: button = MOUSE_X1; break; in gui_x11_mouse_cb()
1079 case 9: button = MOUSE_X2; break; in gui_x11_mouse_cb()
1085 button = MOUSE_RELEASE; in gui_x11_mouse_cb()
1103 gui_send_mouse_event(button, x, y, repeated_click, vim_modifiers); in gui_x11_mouse_cb()