diff options
author | Jim Ramsay <i.am@jimramsay.com> | 2009-01-30 15:51:10 (GMT) |
---|---|---|
committer | Jim Ramsay <i.am@jimramsay.com> | 2009-02-27 20:18:08 (GMT) |
commit | 8a7879913ba7169224e18db81888a49e732c1819 (patch) | |
tree | b3223ddc30d850ceadcf0630c24fced56c877e4d | |
parent | 76ea1d9bbe3f3b7edb15da1a67652982edd5f646 (diff) | |
download | fluxbox-8a7879913ba7169224e18db81888a49e732c1819.zip fluxbox-8a7879913ba7169224e18db81888a49e732c1819.tar.bz2 |
Ignore EnterNotify on Lower
Lower is one of the actions which may reveal a window under the current mouse
pointer which would unexpectedly change focus under focus-folows-mouse.
-rw-r--r-- | src/Window.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index 513fbb6..35d9b80 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1668,6 +1668,10 @@ void FluxboxWindow::lower() { | |||
1668 | #ifdef DEBUG | 1668 | #ifdef DEBUG |
1669 | cerr<<"FluxboxWindow("<<title()<<")::lower()"<<endl; | 1669 | cerr<<"FluxboxWindow("<<title()<<")::lower()"<<endl; |
1670 | #endif // DEBUG | 1670 | #endif // DEBUG |
1671 | |||
1672 | /* Ignore all EnterNotify events until the pointer actually moves */ | ||
1673 | screen().focusControl().ignoreAtPointer(); | ||
1674 | |||
1671 | // get root window | 1675 | // get root window |
1672 | WinClient *client = getRootTransientFor(m_client); | 1676 | WinClient *client = getRootTransientFor(m_client); |
1673 | 1677 | ||