diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2009-05-26 20:45:05 (GMT) |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2009-05-26 20:45:05 (GMT) |
commit | 54b49c63a641fb742f014403c924ae8f81f73824 (patch) | |
tree | c2b8511c911d0375715f7f0cd2f8d1999790923a /src/fluxbox.cc | |
parent | 04538cbaa1f74b3b7dd397fa515617d8691980d4 (diff) | |
parent | c1dee4a4055f8f0dafadeca508ff5568e2d0ce08 (diff) | |
download | fluxbox-54b49c63a641fb742f014403c924ae8f81f73824.zip fluxbox-54b49c63a641fb742f014403c924ae8f81f73824.tar.bz2 |
Merge branch 'mousefocus'
Diffstat (limited to 'src/fluxbox.cc')
-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 | } |