~ruther/dwl

9c155eefdc018f878ea6950e6bd383b985401339 — Ben Jargowsky 2 years ago df34fdd
Check that inhibitor scene tree is not null
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 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->node.enabled)) {
				&& tree && tree->node.enabled)) {
			inhibited = 1;
			break;
		}

Do not follow this link