all repos — fluxbox @ e85cf490355346d89f4f758d3193ed7199280793

custom fork of the fluxbox windowmanager

fix tabbing of unfocusable clients

this affects all java clients, because java uses the retarded
WM_TAKE_FOCUS protocol, but also very important clients like xeyes ;-)

BUG: 1055
Thomas Lübking thomas.luebking@gmail.com
commit

e85cf490355346d89f4f758d3193ed7199280793

parent

2aba567ea6c45d04d0f560e3f406fb396efe55e3

1 files changed, 4 insertions(+), 1 deletions(-)

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

@@ -991,11 +991,14 @@ // in case the window is being destroyed, but this should never happen

if (!button) return false; + if (!client.acceptsFocus()) + setinput = false; // don't try + WinClient *old = m_client; m_client = &client; bool ret = setinput && focus(); - if (setinput) { + if (setinput && old->acceptsFocus()) { m_client = old; return ret; }