Lines Matching refs:xbutton
176 XButtonEvent* xbutton = &xevent.xbutton;
183 xbutton->x = mouse_loc.x();
184 xbutton->y = mouse_loc.y();
185 xbutton->same_screen = True;
188 xbutton->button = Button1;
189 xbutton->state = Button1Mask;
192 xbutton->button = Button2;
193 xbutton->state = Button2Mask;
196 xbutton->button = Button3;
197 xbutton->state = Button3Mask;
202 xevent.xbutton.type = ButtonPress;
204 button_down_mask |= xbutton->state;
207 xevent.xbutton.type = ButtonRelease;
209 button_down_mask = (button_down_mask | xbutton->state) ^ xbutton->state;