diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-27 09:18:54 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-27 09:18:54 +0000 |
| commit | 8c2dfe5de45babd0fbc12b69cdfe30a54cf873a2 (patch) | |
| tree | 602fb4a3723afa0b2f3a7fda515e36991ee7870f /scripts | |
| parent | 30e4651787ca6f7161109591c229fcaf76cb901e (diff) | |
deal with when nothing has focus anymore
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/clientmotion.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/clientmotion.py b/scripts/clientmotion.py index a8f4c306..60de370b 100644 --- a/scripts/clientmotion.py +++ b/scripts/clientmotion.py @@ -26,7 +26,9 @@ def def_motion_release(action, win, type, modifiers, button, xroot, yroot, global posqueue for i in posqueue: if i[0] == button: - delete_Rect(i[3]) + client = Openbox_findClient(openbox, win) + if client: + delete_Rect(i[3]) posqueue.remove(i) break |
