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.
This commit is contained in:
Jim Ramsay 2009-01-30 10:51:10 -05:00
parent 76ea1d9bbe
commit 8a7879913b

View file

@ -1668,6 +1668,10 @@ void FluxboxWindow::lower() {
#ifdef DEBUG
cerr<<"FluxboxWindow("<<title()<<")::lower()"<<endl;
#endif // DEBUG
/* Ignore all EnterNotify events until the pointer actually moves */
screen().focusControl().ignoreAtPointer();
// get root window
WinClient *client = getRootTransientFor(m_client);