]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
only show falling back msg when its true
[chaz/openbox] / openbox / event.c
index 154b83479df7cfa434ae15dae9984e98a2a7f862..37910684ad1c5d0ea936d7b0d2000b555ad07f86 100644 (file)
@@ -531,7 +531,7 @@ static void event_process(const XEvent *ec, gpointer data)
                 */
 
                 if (!focus_left_screen)
-                    focus_fallback(TRUE, FALSE);
+                    focus_fallback(FALSE, FALSE);
             }
         }
         else if (!client)
@@ -1509,7 +1509,9 @@ static void event_handle_dock(ObDock *s, XEvent *e)
         dock_hide(FALSE);
         break;
     case LeaveNotify:
-        dock_hide(TRUE);
+        /* don't hide when moving into a dock app */
+        if (e->xcrossing.detail != NotifyInferior)
+            dock_hide(TRUE);
         break;
     }
 }
This page took 0.022496 seconds and 4 git commands to generate.