awesomerc: fix floating state handling

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
MATSUU Takuto 2009-01-06 20:35:33 +09:00 committed by Julien Danjou
parent 84fad1a9cd
commit 7e324e962e
1 changed files with 2 additions and 2 deletions

View File

@ -368,9 +368,9 @@ awful.hooks.manage.register(function (c, startup)
local cls = c.class
local inst = c.instance
if floatapps[cls] then
awful.client.floating.set(cls, floatapps[cls])
awful.client.floating.set(c, floatapps[cls])
elseif floatapps[inst] then
awful.client.floating.set(cls, floatapps[inst])
awful.client.floating.set(c, floatapps[inst])
end
-- Check application->screen/tag mappings.