Move move/resize event handling to more appropriate location.
SVN revision: 27180
This commit is contained in:
parent
1cf7e321ad
commit
e1d074a76c
|
@ -273,8 +273,6 @@ HandleEvent(XEvent * ev)
|
|||
Mode.events.py = Mode.events.y;
|
||||
ModeGetXY(ev->xmotion.root, ev->xmotion.x_root, ev->xmotion.y_root);
|
||||
Mode.events.on_screen = ev->xmotion.same_screen;
|
||||
|
||||
ActionsHandleMotion();
|
||||
break;
|
||||
|
||||
case EnterNotify:
|
||||
|
@ -334,7 +332,6 @@ HandleEvent(XEvent * ev)
|
|||
break;
|
||||
case ButtonRelease: /* 5 */
|
||||
SoundPlay("SOUND_BUTTON_RAISE");
|
||||
ActionsEnd(NULL);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -2163,6 +2163,13 @@ EwinHandleEventsRoot(Win win __UNUSED__, XEvent * ev, void *prm __UNUSED__)
|
|||
|
||||
switch (ev->type)
|
||||
{
|
||||
case ButtonRelease:
|
||||
ActionsEnd(NULL);
|
||||
break;
|
||||
case MotionNotify:
|
||||
ActionsHandleMotion();
|
||||
break;
|
||||
|
||||
case MapRequest:
|
||||
EwinEventMapRequest(NULL, ev->xmaprequest.window);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue