Merge pull request #1778 from Elv13/fix_1777

menu: Check if the client is still valid before accessing props
This commit is contained in:
Emmanuel Lepage Vallée 2017-05-12 08:24:00 -04:00 committed by GitHub
commit 3cfb577387
1 changed files with 1 additions and 0 deletions

View File

@ -512,6 +512,7 @@ function menu.clients(args, item_args, filter)
cls_t[#cls_t + 1] = {
c.name or "",
function ()
if not c.valid then return end
if not c:isvisible() then
tags.viewmore(c:tags(), c.screen)
end