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.
Jim Ramsay i.am@jimramsay.com
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/Window.cc
→
src/Window.cc
@@ -1211,6 +1211,9 @@
if (!moving) { m_last_resize_x = new_x; m_last_resize_y = new_y; + + /* Ignore all EnterNotify events until the pointer actually moves */ + screen().focusControl().ignoreAtPointer(); } }