Lines Matching refs:button
26 event->button.button == 1 &&
27 event->button.state & GDK_MOD1_MASK) {
28 // Change the button to the third (right) one.
29 event->button.button = 3;
30 // Remove the Alt key and first button state.
31 event->button.state &= ~(GDK_MOD1_MASK | GDK_BUTTON1_MASK);
32 // Add the third (right) button state.
33 event->button.state |= GDK_BUTTON3_MASK;