--- lib/awful/titlebar.lua.in | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/lib/awful/titlebar.lua.in b/lib/awful/titlebar.lua.in index c86d6bf..5e751c0 100644 --- a/lib/awful/titlebar.lua.in +++ b/lib/awful/titlebar.lua.in @@ -117,18 +117,8 @@ function add(c, args) tb.widgets = { appicon = appicon, title = title, closef = closef, close = close } - -- Store old geometry (including borders) - local old_geom = c:geometry() - c.titlebar = tb - -- Resize the client so the same amount of space is occupied as before. - -- But not when it's a dialog, because applications remember this new size. - -- And everytime you open the dialog it shrinks further. - if c.type ~= "dialog" then - c:geometry(old_geom) - end - update(c) update(c, "geometry") end -- 1.6.1.1 -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.