Fix issues #21
This commit is contained in:
parent
2ed94b0d8f
commit
2d6e1c3870
14
init.lua
14
init.lua
|
@ -118,16 +118,14 @@ local function match_clients(rule, _clients, t, is_excluded)
|
|||
if mf(c, rule) then
|
||||
-- Store geometry before setting their tags
|
||||
clientData[c] = {}
|
||||
if awful.client.floating.get(c) then
|
||||
clientData[c]["geometry"] = c:geometry()
|
||||
flt = awful.client.property.get(c, "floating")
|
||||
if flt ~= nil then
|
||||
clientData[c]["floating"] = flt
|
||||
awful.client.property.set(c, "floating", false)
|
||||
end
|
||||
|
||||
clientData[c]["geometry"] = c:geometry()
|
||||
flt = awful.client.property.get(c, "floating")
|
||||
if flt ~= nil then
|
||||
clientData[c]["floating"] = flt
|
||||
awful.client.property.set(c, "floating", false)
|
||||
end
|
||||
|
||||
|
||||
for k,v in pairs(revelation.property_to_watch) do
|
||||
clientData[c][k] = c[k]
|
||||
c[k] = v
|
||||
|
|
Loading…
Reference in New Issue