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:
Jim Ramsay 2009-01-30 10:54:04 -05:00
parent 8a7879913b
commit 54c1ac8704

View file

@ -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();
} }
} }