test client.border_width restore after fullscreen

This commit is contained in:
cmertz 2016-07-27 09:50:11 +02:00
parent 78171ea038
commit 41133c9836
1 changed files with 16 additions and 0 deletions

View File

@ -41,6 +41,22 @@ local steps = {
c.maximized_horizontal = false
return true
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
function()
local c = client.get()[1]