diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-27 09:17:56 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-27 09:17:56 +0000 |
| commit | 30e4651787ca6f7161109591c229fcaf76cb901e (patch) | |
| tree | 7c33463b5eed66a1b870a207308afaff607809ab | |
| parent | 656701140bd636d7ae70c544d2ed1cf8479275ca (diff) | |
dont seg on multiple root clicks!
| -rw-r--r-- | scripts/clicks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/clicks.py b/scripts/clicks.py index 8a59df70..f9d2cb6f 100644 --- a/scripts/clicks.py +++ b/scripts/clicks.py @@ -33,7 +33,8 @@ def def_click_root(action, win, type, modifiers, button, time): if type == Type_Root: if button == Button1: print "nothing probly.." - OBClient_unfocus(Openbox_focusedClient(openbox)) + client = Openbox_focusedClient(openbox) + if client: OBClient_unfocus(client) elif button == Button2: print "workspace menu" elif button == Button3: |
