awesomerc: allow 'false' in floatapps

Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
koniu 2009-05-17 20:05:10 +01:00 committed by Julien Danjou
parent acd6c64f55
commit d0d4598ae6
1 changed files with 2 additions and 2 deletions

View File

@ -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