From eb947101461cac1feeeffb04069f5dfe7a150178 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 24 Jun 2016 10:05:18 -0500 Subject: [PATCH] Don't try to send surface presence events for zones with no wayland output Avoid that NULL pointer deref. --- src/bin/e_comp_wl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 5f1f69e2f..59b84bf67 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -83,6 +83,8 @@ _e_comp_wl_surface_outputs_update(E_Client *ec) s = ec->comp_data->surface; wlo = zone->output; + if (!wlo) continue; + res = _output_resource_find(wlo->resources, s); if (!res) continue;