From 8cf48d1fe84177ae9a3448379691ca0fc4bc9b90 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 6 Mar 2014 22:08:00 +0100 Subject: [PATCH] Revert "awful.ewmh: Enforce client geometry (FS#764,FS#1216)" This reverts commit 20afb26080cd34691c67720fef396bed5a0be237. The commit caused endless loops with tracebacks like this (shortened): lib/awful/ewmh.lua.in:122: in function [C]: in function 'geometry' lib/awful/ewmh.lua.in:122: in function [C]: in function 'geometry' lib/awful/ewmh.lua.in:122: in function [C]: in function 'geometry' --- lib/awful/ewmh.lua.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/awful/ewmh.lua.in b/lib/awful/ewmh.lua.in index 53db06655..553b43cb7 100644 --- a/lib/awful/ewmh.lua.in +++ b/lib/awful/ewmh.lua.in @@ -113,8 +113,8 @@ local function screen_change(window) end end --- Update a client's settings when its geometry changes -local function geometry_change(window) +-- Update a client's settings when its border width changes +local function border_change(window) -- Fix up the geometry in case this window needs to cover the whole screen. local bw = window.border_width or 0 local g = screen[window.screen].workarea @@ -147,8 +147,7 @@ client.connect_signal("request::maximized_horizontal", maximized_horizontal) client.connect_signal("request::maximized_vertical", maximized_vertical) client.connect_signal("request::fullscreen", fullscreen) client.connect_signal("property::screen", screen_change) -client.connect_signal("property::border_width", geometry_change) -client.connect_signal("property::geometry", geometry_change) +client.connect_signal("property::border_width", border_change) return ewmh