X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=766be8fd9a5c58370fbd13f2e618aa677e06a423;hb=58cfbb7f8419e084af6b6b8b00c88ed270c29e88;hp=a9eb0fa5fdd1ae03d686510afb942a98ea5d99e0;hpb=20ba24b7415609cbd57927c44f079bab3c911839;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index a9eb0fa5..766be8fd 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -916,6 +916,8 @@ static void event_handle_menu(Menu *menu, XEvent *e) static void event_handle_slit(Slit *s, XEvent *e) { switch (e->type) { + case ButtonPress: + stacking_raise(SLIT_AS_WINDOW(s)); case EnterNotify: slit_hide(s, FALSE); break; @@ -928,6 +930,9 @@ static void event_handle_slit(Slit *s, XEvent *e) static void event_handle_slitapp(SlitApp *app, XEvent *e) { switch (e->type) { + case MotionNotify: + slit_app_drag(app, &e->xmotion); + break; case UnmapNotify: if (app->ignore_unmaps) { app->ignore_unmaps--;