summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-30 17:55:36 +0000
committerDana Jansens <danakj@orodu.net>2007-05-30 17:55:36 +0000
commitb2dfa2fc9bdd012cbb7e58a99ddc30440b14d40d (patch)
tree9d07e533655f401ba306fa7ae792e2221a921c0a /openbox
parentb27d9d21a3ada323acaa714d4055137d162aad76 (diff)
don't hide the dock when the mouse goes into a dock app
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 154b8347..f5da603b 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -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;
}
}