Merge pull request #701 from psychon/client-gravity-fullscreen

Fix awful.ewmh to handle window gravities
This commit is contained in:
Daniel Hahler 2016-02-17 17:14:51 +01:00
commit 1bd2838205
1 changed files with 2 additions and 2 deletions

View File

@ -70,11 +70,11 @@ local function fullscreen(window, set)
if set then
store_geometry(window, "fullscreen")
data[window].fullscreen.border_width = window.border_width
window:geometry(screen[window.screen].geometry)
window.border_width = 0
window:geometry(screen[window.screen].geometry)
elseif data[window] and data[window].fullscreen then
window:geometry(data[window].fullscreen)
window.border_width = data[window].fullscreen.border_width
window:geometry(data[window].fullscreen)
end
end