From d0d4598ae6f101ea7f2e514f9e9e975eac5c1d45 Mon Sep 17 00:00:00 2001 From: koniu Date: Sun, 17 May 2009 20:05:10 +0100 Subject: [PATCH] awesomerc: allow 'false' in floatapps Signed-off-by: koniu Signed-off-by: Julien Danjou --- awesomerc.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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