Lines Matching refs:xbutton
169 XButtonEvent* xbutton = &xevent.xbutton;
175 xbutton->x = mouse_loc.x();
176 xbutton->y = mouse_loc.y();
177 xbutton->same_screen = True;
180 xbutton->button = Button1;
181 xbutton->state = Button1Mask;
184 xbutton->button = Button2;
185 xbutton->state = Button2Mask;
188 xbutton->button = Button3;
189 xbutton->state = Button3Mask;
194 xevent.xbutton.type = ButtonPress;
196 button_down_mask |= xbutton->state;
199 xevent.xbutton.type = ButtonRelease;
201 button_down_mask = (button_down_mask | xbutton->state) ^ xbutton->state;