diff options
| author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | |
|---|---|---|
| 2022-12-02 23:22:58 -0600 | ||
| committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | |
| 2022-12-02 23:25:04 -0600 | ||
| commit | 035bb99d67b59a84cfc2e911d222fb597591a8be (patch) | |
| tree | 777c71d84e2d7e729da93e0b5a882c0c6bc9a3e1 /dwl.c | |
| parent | 9c155eefdc018f878ea6950e6bd383b985401339 (diff) | |
| download | dwl-035bb99d67b59a84cfc2e911d222fb597591a8be.tar.gz dwl-035bb99d67b59a84cfc2e911d222fb597591a8be.tar.bz2 dwl-035bb99d67b59a84cfc2e911d222fb597591a8be.zip | |
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
@@ -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; } |