]> Dogcows Code - chaz/openbox/blobdiff - scripts/focus.py
remove debug print
[chaz/openbox] / scripts / focus.py
index 60ea4189c3990a0410114f4f5a116ed2720a37e1..5ae40cf273e483aa7cb71295a0d7d8beef15e398 100644 (file)
@@ -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:]
This page took 0.020123 seconds and 4 git commands to generate.