X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Ffocus.py;h=5ae40cf273e483aa7cb71295a0d7d8beef15e398;hb=c2c21e9588c00944dfed4cfc7e48d14570444534;hp=9a480ed556523bfbedf1c9bc1f0ab2a450c863b6;hpb=a692d5c4e1e18a2a82cabfef20664286a13c5946;p=chaz%2Fopenbox diff --git a/scripts/focus.py b/scripts/focus.py index 9a480ed5..5ae40cf2 100644 --- a/scripts/focus.py +++ b/scripts/focus.py @@ -197,7 +197,7 @@ def _create_popup_list(data): if client and ((client.desktop() == desktop or client.desktop() == 0xffffffff) and \ client.normal() and (client.canFocus() or - client.focusNotify()): + client.focusNotify())): t = client.title() if len(t) > 50: # limit the length of titles t = t[:24] + "..." + t[-24:]