aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-04-18 12:02:44 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-04-18 12:02:44 +0100
commitb7cc2a065f43be9b6366e237572193440ff09225 (patch)
tree969d45b3aa8999b27938d28fc410b9a50aa48250
parentbz5 -> genlist item flip on press of an option button to see main view (diff)
downloadenlightenment-master.tar.gz
e wl - guarad against possible null comp_dataHEADmaster
not reproducable so the best solution i can see is some guarads against a NULL ec->comp_data.
-rw-r--r--src/bin/e_comp_wl_extensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_comp_wl_extensions.c b/src/bin/e_comp_wl_extensions.c
index 3c4924706..241ba107c 100644
--- a/src/bin/e_comp_wl_extensions.c
+++ b/src/bin/e_comp_wl_extensions.c
@@ -1134,6 +1134,7 @@ e_comp_wl_extension_pointer_constraints_commit(E_Client *ec)
Eina_List *l;
Constraint *c;
+ if ((!ec) || (!ec->comp_data)) return;
EINA_LIST_FOREACH(ec->comp_data->constraints, l, c)
{
if (c->pending)
@@ -1271,6 +1272,7 @@ e_comp_wl_extension_pointer_constraints_update(E_Client *ec, int x, int y)
Eina_Bool inside;
int px, py;
+ if ((!ec) || (!ec->comp_data)) return EINA_FALSE;
inside = e_comp_object_coords_inside_input_area(ec->frame, x, y);
evas_pointer_canvas_xy_get(e_comp->evas, &px, &py);