Don't try to send surface presence events for zones with no wayland output
Avoid that NULL pointer deref.
This commit is contained in:
parent
191e5180b5
commit
eb94710146
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue