awful.menu: escape client name in clients menu
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
4f61841f0e
commit
827d084dbf
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue