awful.client: use right data array

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-10-01 15:00:33 +02:00
parent 4fb114172f
commit 3f9b726065
1 changed files with 3 additions and 3 deletions

View File

@ -359,10 +359,10 @@ function maximize(c)
local ws = capi.screen[sel.screen].workarea
ws.width = ws.width - 2 * sel.border_width
ws.height = ws.height - 2 * sel.border_width
if sel.floating and client.data.maximize[sel] then
sel.floating = client.data.maximize[sel].floating
if sel.floating and data.maximize[sel] then
sel.floating = data.maximize[sel].floating
if sel.floating then
sel:coords(client.data.maximize[sel].coords)
sel:coords(data.maximize[sel].coords)
end
data.maximize[sel] = nil
else