diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-11 20:21:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-11 20:21:38 +0000 |
| commit | 71f9b6cf3aa4bfa96a3303a81816a14863dc2e6a (patch) | |
| tree | 768505d894586568ca5ea3e3a9d7d46b12a9bd66 /scripts/motion.py | |
| parent | 7112755cfcda17e2c17360caf28407485e5befc0 (diff) | |
proper check for modifiers being released, not caring about added.
Diffstat (limited to 'scripts/motion.py')
| -rw-r--r-- | scripts/motion.py | 3 |
1 files changed, 1 insertions, 2 deletions
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: |
