diff --git a/lib/awful/permissions/init.lua b/lib/awful/permissions/init.lua index 578c1c74dd..224bc7c9cb 100644 --- a/lib/awful/permissions/init.lua +++ b/lib/awful/permissions/init.lua @@ -367,13 +367,18 @@ function permissions.geometry(c, context, hints) local layout = c.screen.selected_tag and c.screen.selected_tag.layout or nil + context = context or "" + -- Setting the geometry will not work unless the client is floating. - if (not c.floating) and (layout ~= asuit.floating) then + if ( + (context ~= "fullscreen") + and (context ~= "maximized") + and (not c.floating) + and (layout ~= asuit.floating) + ) then return end - context = context or "" - local original_context = context -- Now, map it to something useful