menu: Check if the client is still valid before accessing props
Fix #1777
This commit is contained in:
parent
348abc3ed8
commit
0df1586f10
|
@ -512,6 +512,7 @@ function menu.clients(args, item_args, filter)
|
||||||
cls_t[#cls_t + 1] = {
|
cls_t[#cls_t + 1] = {
|
||||||
c.name or "",
|
c.name or "",
|
||||||
function ()
|
function ()
|
||||||
|
if not c.valid then return end
|
||||||
if not c:isvisible() then
|
if not c:isvisible() then
|
||||||
tags.viewmore(c:tags(), c.screen)
|
tags.viewmore(c:tags(), c.screen)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue