X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fmotion.py;h=b1e69d846b0ba861fab6753cf95f8ac86a666a8a;hb=4eaa65510b26d342c5419e6081bcecaa0ec8aa24;hp=ef05b2792a49eb1d24c15be3711fccc58f5fd951;hpb=6ae8608aede5e9972f19ea29ce1790a68a507ef9;p=chaz%2Fopenbox diff --git a/scripts/motion.py b/scripts/motion.py index ef05b279..b1e69d84 100644 --- a/scripts/motion.py +++ b/scripts/motion.py @@ -81,8 +81,7 @@ def _motion_grab(data): global _motion_mask, _inmove, _inresize; # are all the modifiers this started with still pressed? - print _motion_mask, data.state - if not _motion_mask == data.state: + if not _motion_mask & data.state: if _inmove: _end_move(data) elif _inresize: