Fix a bug.

This commit is contained in:
Quan Guo 2015-10-09 23:30:42 +02:00
parent 87f9cb39e9
commit 0cb9085642
1 changed files with 16 additions and 0 deletions

View File

@ -231,6 +231,22 @@ function revelation.restore(t, zt)
capi.keygrabber.stop()
capi.mousegrabber.stop()
for _, c in pairs(clients) do
if clientData[c] then
for k,v in pairs(clientData[c]) do
if v ~= nil then
if k== "geometry" then
c:geometry(v)
elseif k == "floating" then
awful.client.property.set(c, "floating", v)
else
c[k]=v
end
end
end
end
end
for scr=1, capi.screen.count() do
t[scr].activated = false
zt[scr].activated = false