From ab791b7681f54ce8aa1d024b3d588e9bcef3fbdc Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 1 Mar 2009 12:48:14 +0100 Subject: [PATCH 1/1] new maximise API --- .config/awesome/rc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.5