all repos — fluxbox @ c1dee4a4055f8f0dafadeca508ff5568e2d0ce08

custom fork of the fluxbox windowmanager

Ignore EnterNotify on workspace change

Changing workspaces also reveals other windows, which causes unexpected focus
changes.
Jim Ramsay i.am@jimramsay.com
commit

c1dee4a4055f8f0dafadeca508ff5568e2d0ce08

parent

54c1ac8704c2ad81a597547912bdbf5cbf7967d9

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

jump to
M src/Screen.ccsrc/Screen.cc

@@ -1098,6 +1098,9 @@ if (! m_current_workspace || id >= m_workspaces_list.size() ||

id == m_current_workspace->workspaceID()) return; + /* Ignore all EnterNotify events until the pointer actually moves */ + this->focusControl().ignoreAtPointer(); + FbTk::App::instance()->sync(false); FluxboxWindow *focused = FocusControl::focusedFbWindow();