X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=f919125532512afe5380b7c7ff71f4b50d2b77ea;hb=7886b797a36f5a035a75a19424e0b3cf7825baf8;hp=042a76dc93d04037286b84bf9ce4941f35e63ca5;hpb=55c424d38bb119bd04199ed5e73b035b00474dd9;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index 042a76dc..f9191255 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -8,6 +8,7 @@ #include "menu.h" #include "framerender.h" #include "focus.h" +#include "moveresize.h" #include "stacking.h" #include "extensions.h" #include "timer.h" @@ -359,6 +360,14 @@ static void event_process(XEvent *e) xerror_set_ignore(FALSE); } + if (moveresize_in_progress) + if (e->type == MotionNotify || e->type == ButtonRelease || + e->type == ButtonPress || + e->type == KeyPress || e->type == KeyRelease) { + moveresize_event(e); + return; /* no dispatch! */ + } + /* user input (action-bound) events */ /* if (e->type == ButtonPress || e->type == ButtonRelease ||