aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-06-19 12:57:16 (GMT)
committersimonb <simonb>2006-06-19 12:57:16 (GMT)
commitaaf3651830be41b344696d6d0bdfaa8960e01bc5 (patch)
tree34f9a2500bc082a869676af26b83bc4da3437a4f /src/Window.cc
parent0fbe4c728d9be38fb63a980e9f88b0a51063ed4c (diff)
downloadfluxbox-aaf3651830be41b344696d6d0bdfaa8960e01bc5.zip
fluxbox-aaf3651830be41b344696d6d0bdfaa8960e01bc5.tar.bz2
try ignoring NotifyUngrab to fix focus revert issues when closing
unmanaged windows that grab pointer
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 13167e7..7703f96 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -3013,7 +3013,7 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent &me) {
3013void FluxboxWindow::enterNotifyEvent(XCrossingEvent &ev) { 3013void FluxboxWindow::enterNotifyEvent(XCrossingEvent &ev) {
3014 3014
3015 // ignore grab activates, or if we're not visible 3015 // ignore grab activates, or if we're not visible
3016 if (ev.mode == NotifyGrab || 3016 if (ev.mode == NotifyGrab || ev.mode == NotifyUngrab ||
3017 !isVisible()) { 3017 !isVisible()) {
3018 return; 3018 return;
3019 } 3019 }