awful.menu: escape client name in clients menu

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-10-25 15:36:08 +02:00
parent 4f61841f0e
commit 827d084dbf
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ function clients(menu)
local cls = capi.client.get() local cls = capi.client.get()
local cls_t = {} local cls_t = {}
for k, c in pairs(cls) do for k, c in pairs(cls) do
cls_t[#cls_t + 1] = { c.name, cls_t[#cls_t + 1] = { util.escape(c.name),
function () function ()
if not c:isvisible() then if not c:isvisible() then
tags.viewmore(c:tags(), c.screen) tags.viewmore(c:tags(), c.screen)