awful.client: use right data array
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
4fb114172f
commit
3f9b726065
|
@ -359,10 +359,10 @@ function maximize(c)
|
||||||
local ws = capi.screen[sel.screen].workarea
|
local ws = capi.screen[sel.screen].workarea
|
||||||
ws.width = ws.width - 2 * sel.border_width
|
ws.width = ws.width - 2 * sel.border_width
|
||||||
ws.height = ws.height - 2 * sel.border_width
|
ws.height = ws.height - 2 * sel.border_width
|
||||||
if sel.floating and client.data.maximize[sel] then
|
if sel.floating and data.maximize[sel] then
|
||||||
sel.floating = client.data.maximize[sel].floating
|
sel.floating = data.maximize[sel].floating
|
||||||
if sel.floating then
|
if sel.floating then
|
||||||
sel:coords(client.data.maximize[sel].coords)
|
sel:coords(data.maximize[sel].coords)
|
||||||
end
|
end
|
||||||
data.maximize[sel] = nil
|
data.maximize[sel] = nil
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue