From 7e324e962e90b3096b8caaaf4a0efffae2e28e8f Mon Sep 17 00:00:00 2001 From: MATSUU Takuto Date: Tue, 6 Jan 2009 20:35:33 +0900 Subject: [PATCH] awesomerc: fix floating state handling 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 5b605159..6b85b544 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -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.