all repos — fluxbox @ 54c1ac8704c2ad81a597547912bdbf5cbf7967d9

custom fork of the fluxbox windowmanager

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
commit

54c1ac8704c2ad81a597547912bdbf5cbf7967d9

parent

8a7879913ba7169224e18db81888a49e732c1819

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/Window.ccsrc/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(); } }