diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 5bf4c4368..0e49c5bdb 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -552,7 +552,7 @@ _e_comp_wl_evas_cb_resize(void *data, Evas_Object *obj EINA_UNUSED, void *event if ((ec->shading) || (ec->shaded)) return; if (!ec->comp_data->shell.configure_send) return; - if (e_client_util_resizing_get(ec)) + if (e_client_util_resizing_get(ec) && e_comp->wl_comp_data->resize.edges) { int x, y, ax, ay; @@ -2414,6 +2414,8 @@ _e_comp_wl_client_cb_resize_begin(void *data EINA_UNUSED, E_Client *ec) { if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return; + e_comp->wl_comp_data->resize.edges = 0; + if (ec->keyboard_resizing) return; switch (ec->resize_mode) { case E_POINTER_RESIZE_T: // 1 @@ -2441,7 +2443,6 @@ _e_comp_wl_client_cb_resize_begin(void *data EINA_UNUSED, E_Client *ec) e_comp->wl_comp_data->resize.edges = 10; break; default: - e_comp->wl_comp_data->resize.edges = 0; break; } }