all repos — openbox @ a692d5c4e1e18a2a82cabfef20664286a13c5946

openbox fork - make it a bit more like ryudo

check if the client wants focus before adding to list
Dana Jansens danakj@orodu.net
commit

a692d5c4e1e18a2a82cabfef20664286a13c5946

parent

ef0e907efd1c3e6372e172cedd9108034744486a

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

jump to
M scripts/focus.pyscripts/focus.py

@@ -196,7 +196,8 @@ client = ob.openbox.findClient(c)

desktop = ob.openbox.screen(data.screen).desktop() if client and ((client.desktop() == desktop or client.desktop() == 0xffffffff) and \ - client.normal()): + client.normal() and (client.canFocus() or + client.focusNotify()): t = client.title() if len(t) > 50: # limit the length of titles t = t[:24] + "..." + t[-24:]