From 45abae7ebb55334f88adce59bed506d996288b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 28 Aug 2023 11:51:37 +0200 Subject: [PATCH] wayland/idle-inhibit: Remove confusing comment Something about the surface being destroyed and visibility checked, which isn't what is going on. Fixes: 388b534062 ("wayland: Implement idle inhibit protocol") Part-of: --- src/wayland/meta-wayland-idle-inhibit.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/wayland/meta-wayland-idle-inhibit.c b/src/wayland/meta-wayland-idle-inhibit.c index ac9a13e1d..fcaeac3d7 100644 --- a/src/wayland/meta-wayland-idle-inhibit.c +++ b/src/wayland/meta-wayland-idle-inhibit.c @@ -155,9 +155,6 @@ inhibitor_proxy_completed (GObject *source, inhibitor->session_proxy = proxy; - /* as the surface has already been created, we check its visibility state in - * the inhibitor initialization. - */ update_inhibitation (inhibitor); }