diff options
-rw-r--r-- | src/fluxbox.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 93768da..f44f8aa 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -899,6 +899,11 @@ void Fluxbox::handleUnmapNotify(XUnmapEvent &ue) { | |||
899 | 899 | ||
900 | BScreen *screen = searchScreen(ue.event); | 900 | BScreen *screen = searchScreen(ue.event); |
901 | 901 | ||
902 | if (screen) { | ||
903 | /* Ignore all EnterNotify events until the pointer actually moves */ | ||
904 | screen->focusControl().ignoreAtPointer(); | ||
905 | } | ||
906 | |||
902 | if (ue.event != ue.window && (!screen || !ue.send_event)) { | 907 | if (ue.event != ue.window && (!screen || !ue.send_event)) { |
903 | return; | 908 | return; |
904 | } | 909 | } |