Ignore EnterNotify on Move or Resize
Moving and Resizing windows can reveal other windows, which of course can change unexpected focus changes in focus-follows-mouse.
This commit is contained in:
parent
8a7879913b
commit
54c1ac8704
1 changed files with 3 additions and 0 deletions
|
@ -1211,6 +1211,9 @@ void FluxboxWindow::moveResize(int new_x, int new_y,
|
||||||
if (!moving) {
|
if (!moving) {
|
||||||
m_last_resize_x = new_x;
|
m_last_resize_x = new_x;
|
||||||
m_last_resize_y = new_y;
|
m_last_resize_y = new_y;
|
||||||
|
|
||||||
|
/* Ignore all EnterNotify events until the pointer actually moves */
|
||||||
|
screen().focusControl().ignoreAtPointer();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue