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:
parent
76ea1d9bbe
commit
8a7879913b
1 changed files with 4 additions and 0 deletions
|
@ -1668,6 +1668,10 @@ void FluxboxWindow::lower() {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
cerr<<"FluxboxWindow("<<title()<<")::lower()"<<endl;
|
cerr<<"FluxboxWindow("<<title()<<")::lower()"<<endl;
|
||||||
#endif // DEBUG
|
#endif // DEBUG
|
||||||
|
|
||||||
|
/* Ignore all EnterNotify events until the pointer actually moves */
|
||||||
|
screen().focusControl().ignoreAtPointer();
|
||||||
|
|
||||||
// get root window
|
// get root window
|
||||||
WinClient *client = getRootTransientFor(m_client);
|
WinClient *client = getRootTransientFor(m_client);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue