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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3219>
This commit is contained in:
Jonas Ådahl 2023-08-28 11:51:37 +02:00
parent 388b534062
commit 45abae7ebb

View File

@ -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);
}