From: martin f. krafft Date: Sun, 1 Mar 2009 11:48:14 +0000 (+0100) Subject: new maximise API X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/ab791b7681f54ce8aa1d024b3d588e9bcef3fbdc?ds=inline new maximise API --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 85f7652..dd330da 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -488,7 +488,8 @@ awful.hooks.manage.register(function (c, startup) -- Maximise some if maxapps[inst] or maxapps[cls] then - awful.client.maximize(c) + c.maximized_horizontal = not c.maximized_horizontal + c.maximized_vertical = not c.maximized_vertical end end)