off-by-one
This commit is contained in:
parent
4d4e17d102
commit
96a949ec1f
1 changed files with 2 additions and 2 deletions
|
@ -100,9 +100,9 @@ def _do_move():
|
|||
# use the area based on the struts
|
||||
area = ob.openbox.screen(_screen).area()
|
||||
l = area.left()
|
||||
r = area.right() - w
|
||||
r = area.right() - w + 1
|
||||
t = area.top()
|
||||
b = area.bottom() - h
|
||||
b = area.bottom() - h + 1
|
||||
# left screen edge
|
||||
if x < l and x >= l - edge_resistance:
|
||||
x = l
|
||||
|
|
Loading…
Reference in a new issue