Lines Matching refs:Event
482 ButtonMotionMask, &Event);
484 if (Event.type == MotionNotify) {
488 &Event))
489 if (Event.type == ButtonRelease)
496 if (Event.type == ButtonRelease || Cancel) {
502 if (Event.type != MotionNotify)
1407 ButtonMotionMask, &Event);
1409 if (fromtitlebar && Event.type == ButtonPress) {
1414 if (Event.type == MotionNotify) {
1419 &Event))
1420 if (Event.type == ButtonRelease)
1427 } while (!(Event.type == ButtonRelease || Cancel));
1577 VisibilityChangeMask, &Event);
1580 if (Event.xany.type == EnterNotify ||
1581 Event.xany.type == LeaveNotify)
1584 if (Event.type == MotionNotify) {
1587 movementMask | releaseEvent, &Event))
1588 if (Event.type == releaseEvent)
1594 if (Event.type == ButtonPress && DragWindow != None) {
1602 if (fromtitlebar && Event.type == ButtonPress) {
1604 CurrentDragX = origX = Event.xbutton.x_root;
1605 CurrentDragY = origY = Event.xbutton.y_root;
1621 if (Event.type == releaseEvent) {
1628 Event.xbutton.x_root - DragWidth / 2,
1629 Event.xbutton.y_root - DragHeight / 2);
1634 if (Event.type != MotionNotify)