]> Dogcows Code - chaz/openbox/blobdiff - scripts/clientmotion.py
print an error for invalid modifier keys
[chaz/openbox] / scripts / clientmotion.py
index a8f4c306918d0507b7ac9d5ec1a221a07e2e05e5..60de370bf13b02c77fdf9d1cccc51194c8ad0dcf 100644 (file)
@@ -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
        
This page took 0.019943 seconds and 4 git commands to generate.