From 0df1586f10461e078a27f69b0fd879587fc4094d Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Thu, 11 May 2017 12:47:06 -0400 Subject: [PATCH] menu: Check if the client is still valid before accessing props Fix #1777 --- lib/awful/menu.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful/menu.lua b/lib/awful/menu.lua index 80560f279..0635e7c58 100644 --- a/lib/awful/menu.lua +++ b/lib/awful/menu.lua @@ -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