test-maximize: Restore old border width
When the border width changes, we move the client according to its gravity. This can cause problems with the following code. Fix this by restoring the original border width again, which undoes the move. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
9016a9296f
commit
08555a4fed
|
@ -75,6 +75,9 @@ local steps = {
|
||||||
|
|
||||||
assert(c.border_width == test_width)
|
assert(c.border_width == test_width)
|
||||||
|
|
||||||
|
-- Restore old border width
|
||||||
|
c.border_width = test_width - 1
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue