test client.border_width restore after fullscreen
This commit is contained in:
parent
78171ea038
commit
41133c9836
|
@ -41,6 +41,22 @@ local steps = {
|
||||||
c.maximized_horizontal = false
|
c.maximized_horizontal = false
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
-- Test restoring client.border_width
|
||||||
|
function()
|
||||||
|
local c = client.get()[1]
|
||||||
|
local test_width = 2
|
||||||
|
|
||||||
|
c.border_width = test_width
|
||||||
|
|
||||||
|
c.fullscreen = true
|
||||||
|
c.fullscreen = false
|
||||||
|
|
||||||
|
assert(c.border_width == test_width)
|
||||||
|
|
||||||
|
return true
|
||||||
|
end,
|
||||||
|
|
||||||
-- Test restoring a geometry
|
-- Test restoring a geometry
|
||||||
function()
|
function()
|
||||||
local c = client.get()[1]
|
local c = client.get()[1]
|
||||||
|
|
Loading…
Reference in New Issue