]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
Clients Menus and Slits are all 'ObWindow's now.
[chaz/openbox] / openbox / event.c
index a9eb0fa5fdd1ae03d686510afb942a98ea5d99e0..766be8fd9a5c58370fbd13f2e618aa677e06a423 100644 (file)
@@ -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--;
This page took 0.02222 seconds and 4 git commands to generate.