X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/49f7326ed26762c5ad3c4718c7120e6a3a6b4014..6e3672af7ba05406ad344141655f239cd39db944:/.config/awesome/rc.lua diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 5fa82cb..4aa2eba 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -686,6 +686,9 @@ client.connect_signal("manage", function (c) -- Prevent clients from being unreachable after screen count changes. awful.placement.no_offscreen(c) end + + c.maximized_horizontal = false + c.maximized_vertical = false end) -- Add a titlebar if titlebars_enabled is set to true in the rules. @@ -742,7 +745,7 @@ client.connect_signal("focus", function(c) c.border_color = beautiful.border_foc client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) awful.ewmh.add_activate_filter(function(c, context, hints) - if context == "ewmh" and c.class == "Firefox-esr" or c.class == "Firefox" then return false end + if context == "ewmh" and (c.class == "Firefox-esr" or c.class == "Firefox") then return false end end) -- vim:ft=lua:sw=4:sts=4:ts=4:et