awesomerc: fix floating state handling
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
84fad1a9cd
commit
7e324e962e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue