add a snap variable..

This commit is contained in:
Dana Jansens 2003-02-02 23:21:57 +00:00
parent a527c30f11
commit fd96ddd82e

View file

@ -6,6 +6,9 @@
############################################################################# #############################################################################
### Options that can be modified to change the functions' behaviors. ### ### 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 - display a coordinates popup when moving windows. ###
move_popup = 1 ### move_popup = 1 ###
### ### ### ###
@ -87,6 +90,10 @@ def _do_move():
x = _cx + _dx x = _cx + _dx
y = _cy + _dy y = _cy + _dy
global snap
if snap:
pass
global move_rubberband global move_rubberband
if move_rubberband: if move_rubberband:
# draw the outline ... # draw the outline ...