Merge pull request #701 from psychon/client-gravity-fullscreen
Fix awful.ewmh to handle window gravities
This commit is contained in:
commit
1bd2838205
|
@ -70,11 +70,11 @@ local function fullscreen(window, set)
|
||||||
if set then
|
if set then
|
||||||
store_geometry(window, "fullscreen")
|
store_geometry(window, "fullscreen")
|
||||||
data[window].fullscreen.border_width = window.border_width
|
data[window].fullscreen.border_width = window.border_width
|
||||||
window:geometry(screen[window.screen].geometry)
|
|
||||||
window.border_width = 0
|
window.border_width = 0
|
||||||
|
window:geometry(screen[window.screen].geometry)
|
||||||
elseif data[window] and data[window].fullscreen then
|
elseif data[window] and data[window].fullscreen then
|
||||||
window:geometry(data[window].fullscreen)
|
|
||||||
window.border_width = data[window].fullscreen.border_width
|
window.border_width = data[window].fullscreen.border_width
|
||||||
|
window:geometry(data[window].fullscreen)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue