Lines Matching refs:xbutton
145 XButtonEvent* xbutton = &xevent.xbutton;
153 xbutton->x = mouse_loc.x();
154 xbutton->y = mouse_loc.y();
155 xbutton->same_screen = True;
158 xbutton->button = Button1;
159 xbutton->state = Button1Mask;
162 xbutton->button = Button2;
163 xbutton->state = Button2Mask;
166 xbutton->button = Button3;
167 xbutton->state = Button3Mask;
172 xevent.xbutton.type = ButtonPress;
174 button_down_mask |= xbutton->state;
177 xevent.xbutton.type = ButtonRelease;
179 button_down_mask = (button_down_mask | xbutton->state) ^ xbutton->state;