Lines Matching refs:Event
347 VisibilityChangeMask, &Event);
350 if(Event.xany.type == EnterNotify ||
351 Event.xany.type == LeaveNotify) {
356 if(Event.type == MotionNotify) {
357 while(XCheckMaskEvent(dpy, movementMask | releaseEvent, &Event))
358 if(Event.type == releaseEvent) {
365 if(Event.type == ButtonPress && DragWindow != None) {
381 if(Event.xbutton.button == Button2) {
384 else if(Event.xbutton.button >= Button3) {
397 if(fromtitlebar && Event.type == ButtonPress) {
399 CurrentDragX = origX = Event.xbutton.x_root;
400 CurrentDragY = origY = Event.xbutton.y_root;
419 if(Event.type == releaseEvent) {
427 int xl = Event.xbutton.x_root - (DragWidth / 2),
428 yt = Event.xbutton.y_root - (DragHeight / 2);
442 if(Event.type != MotionNotify) {
927 ButtonMotionMask | VisibilityChangeMask | ExposureMask, &Event);
929 if(fromtitlebar && Event.type == ButtonPress) {
934 if(Event.type == MotionNotify) {
938 (dpy, ButtonMotionMask | ButtonReleaseMask, &Event))
939 if(Event.type == ButtonRelease) {
949 while(!(Event.type == ButtonRelease || Cancel));