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:
Uli Schlachter 2014-03-06 17:58:03 +01:00
parent 04dee81d13
commit 23e9258fb5
1 changed files with 1 additions and 1 deletions

View File

@ -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