}
}
- e_comp_size_get(&comp_w, comp_h);
+ e_comp_size_get(&comp_w, &comp_h);
if (ev->y < conf->edge_swipe.area_offset)
edge_swipes->base.edge = E_GESTURE_EDGE_TOP;
else if (ev->y > comp_h - conf->edge_swipe.area_offset)
}
}
- e_comp_size_get(&comp_w, comp_h);
+ e_comp_size_get(&comp_w, &comp_h);
if (ev->y < conf->edge_drag.area_offset)
edge_drags->base.edge = E_GESTURE_EDGE_TOP;
else if (ev->y > comp_h - conf->edge_drag.area_offset)
struct wl_resource *surface;
EINA_SAFETY_ON_NULL_RETURN(ec);
- EINA_SAFETY_ON_NULL_RETURN(e_comp_wl_data_check(ec));
surface = e_comp_wl_wl_surface_get(ec);
if (!surface) return;
EINA_SAFETY_ON_NULL_RETURN_VAL(ev, ECORE_CALLBACK_PASS_ON);
ec = ev->ec;
EINA_SAFETY_ON_NULL_RETURN_VAL(ec, ECORE_CALLBACK_PASS_ON);
- EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp_wl_data_check(ec), ECORE_CALLBACK_PASS_ON);
_e_gesture_window_gesture_disabled_change(ec);
_e_gesture_deactivate_surface_check(ec);
E_Client *qp_ec;
Eina_List *list, *l;
Eina_Bool res_return = EINA_FALSE;
- if (e_object_is_del(E_OBJECT(ec)) || !e_comp_wl_data_check(ec)) return;
+ if (e_object_is_del(E_OBJECT(ec))) return;
if (!e_comp_wl_aux_hint_changed_get(ec)) return;
list = e_service_quickpanels_get();
return NULL;
}
- if (!e_comp_get())
- {
- GTERR("Failed to initialize gesture module ! (e_comp_get() == NULL)\n");
- goto err;
- }
-
/* Add filtering mechanism
* FIXME: Add handlers after first gesture is grabbed
*/