check c.instance for nil
This commit is contained in:
parent
2471492879
commit
5bc940b2ff
2
rc.lua
2
rc.lua
|
@ -1063,7 +1063,7 @@ client.connect_signal("manage", function (c)
|
||||||
-- Prevent clients from being unreachable after screen count changes.
|
-- Prevent clients from being unreachable after screen count changes.
|
||||||
awful.placement.no_offscreen(c)
|
awful.placement.no_offscreen(c)
|
||||||
end
|
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)
|
end)
|
||||||
|
|
||||||
-- Add a titlebar if titlebars_enabled is set to true in the rules.
|
-- Add a titlebar if titlebars_enabled is set to true in the rules.
|
||||||
|
|
Loading…
Reference in New Issue