From 3f9b72606578e816751b09c0351f6cb6cb1d7da7 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 1 Oct 2008 15:00:33 +0200 Subject: [PATCH] awful.client: use right data array Signed-off-by: Julien Danjou --- lib/awful/client.lua.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in index cb0fa1ddd..68f3db608 100644 --- a/lib/awful/client.lua.in +++ b/lib/awful/client.lua.in @@ -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