diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 40e97d5d..99df8798 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -375,9 +375,9 @@ awful.hooks.manage.register(function (c, startup) -- Check if the application should be floating. local cls = c.class local inst = c.instance - if floatapps[cls] then + if floatapps[cls] ~= nil then awful.client.floating.set(c, floatapps[cls]) - elseif floatapps[inst] then + elseif floatapps[inst] ~= nil then awful.client.floating.set(c, floatapps[inst]) end