awful.ewmh: Correctly handle bw change for maximized clients
Due to a copy&paste error, maximized_vertical and maximized_horizontal were handled the same. Of course, vertical and horizontal aren't the same direction. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
04dee81d13
commit
23e9258fb5
|
@ -122,7 +122,7 @@ local function border_change(window)
|
|||
window:geometry { height = g.height - 2*bw, y = g.y }
|
||||
end
|
||||
if window.maximized_horizontal then
|
||||
window:geometry { height = g.height - 2*bw, y = g.y }
|
||||
window:geometry { width = g.width - 2*bw, x = g.x }
|
||||
end
|
||||
if window.fullscreen then
|
||||
-- This *will* cause an endless loop if some other property::border_width
|
||||
|
|
Loading…
Reference in New Issue