awful: fix marking

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-10-29 09:39:06 +01:00
parent 2d6c09ee5a
commit 17a6d2283e
1 changed files with 2 additions and 2 deletions

View File

@ -528,8 +528,8 @@ end
function togglemarked(c)
local cl = c or capi.client.focus
if not client.mark(c) then
client.unmark(c)
if not mark(c) then
unmark(c)
end
end