diff --git a/rc.lua b/rc.lua index d2cb20a..dec7b3a 100644 --- a/rc.lua +++ b/rc.lua @@ -1063,7 +1063,7 @@ client.connect_signal("manage", function (c) -- Prevent clients from being unreachable after screen count changes. awful.placement.no_offscreen(c) end - if string.find(c.instance, "QuakeConsole") then update_quake_console(c) end + if c.instance ~= nil and string.find(c.instance, "QuakeConsole") then update_quake_console(c) end end) -- Add a titlebar if titlebars_enabled is set to true in the rules.