add a snap variable..
This commit is contained in:
parent
a527c30f11
commit
fd96ddd82e
1 changed files with 7 additions and 0 deletions
|
@ -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 ...
|
||||
|
|
Loading…
Reference in a new issue