From 035bb99d67b59a84cfc2e911d222fb597591a8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Fri, 2 Dec 2022 23:22:58 -0600 Subject: Revert "Check that inhibitor scene tree is not null" This reverts commit 9c155eefdc018f878ea6950e6bd383b985401339. This commit was applied just a workaround, the proper fix is the next commit --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 7ab649a..5f6d061 100644 --- a/dwl.c +++ b/dwl.c @@ -598,7 +598,7 @@ checkidleinhibitor(struct wlr_surface *exclude) wl_list_for_each(inhibitor, &idle_inhibit_mgr->inhibitors, link) { struct wlr_scene_tree *tree = inhibitor->surface->data; if (bypass_surface_visibility || (exclude != inhibitor->surface - && tree && tree->node.enabled)) { + && tree->node.enabled)) { inhibited = 1; break; } -- cgit v1.2.3