diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-02 23:21:57 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-02 23:21:57 +0000 |
| commit | fd96ddd82e6c65de6a23141a53a4d544668fd11d (patch) | |
| tree | cb928fd3a3b7b096c5577c1d8a0636569d507d62 /scripts | |
| parent | a527c30f115022d92e35b1e0754d594dab55fca7 (diff) | |
add a snap variable..
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/motion.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/motion.py b/scripts/motion.py index 84547678..9c8aa27c 100644 --- a/scripts/motion.py +++ b/scripts/motion.py @@ -6,6 +6,9 @@ ############################################################################# ### Options that can be modified to change the functions' behaviors. ### ### ### +# snap - snap windows to other windows and screen edges while moving them ### +snap = 1 +### # move_popup - display a coordinates popup when moving windows. ### move_popup = 1 ### ### ### @@ -87,6 +90,10 @@ def _do_move(): x = _cx + _dx y = _cy + _dy + global snap + if snap: + pass + global move_rubberband if move_rubberband: # draw the outline ... |
