summaryrefslogtreecommitdiff
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
parent32f5bb93ce99f5423b8271708b0f35141d1da639 (diff)
e wl - guarad against possible null comp_data
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)
1134 Eina_List *l; 1134 Eina_List *l;
1135 Constraint *c; 1135 Constraint *c;
1136 1136
1137 if ((!ec) || (!ec->comp_data)) return;
1137 EINA_LIST_FOREACH(ec->comp_data->constraints, l, c) 1138 EINA_LIST_FOREACH(ec->comp_data->constraints, l, c)
1138 { 1139 {
1139 if (c->pending) 1140 if (c->pending)
@@ -1271,6 +1272,7 @@ e_comp_wl_extension_pointer_constraints_update(E_Client *ec, int x, int y)
1271 Eina_Bool inside; 1272 Eina_Bool inside;
1272 int px, py; 1273 int px, py;
1273 1274
1275 if ((!ec) || (!ec->comp_data)) return EINA_FALSE;
1274 inside = e_comp_object_coords_inside_input_area(ec->frame, x, y); 1276 inside = e_comp_object_coords_inside_input_area(ec->frame, x, y);
1275 evas_pointer_canvas_xy_get(e_comp->evas, &px, &py); 1277 evas_pointer_canvas_xy_get(e_comp->evas, &px, &py);
1276 1278