diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-30 00:03:45 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-30 00:03:45 +0000 |
| commit | a692d5c4e1e18a2a82cabfef20664286a13c5946 (patch) | |
| tree | a1679bc87b60fe3bcdee75537a6b4d5fca00e6ce /scripts/focus.py | |
| parent | ef0e907efd1c3e6372e172cedd9108034744486a (diff) | |
check if the client wants focus before adding to list
Diffstat (limited to 'scripts/focus.py')
| -rw-r--r-- | scripts/focus.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/focus.py b/scripts/focus.py index 60ea4189..9a480ed5 100644 --- a/scripts/focus.py +++ b/scripts/focus.py @@ -196,7 +196,8 @@ def _create_popup_list(data): 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:] |
