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;
{
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
e_comp->wl_comp_data->resize.edges = 10;
break;
default:
- e_comp->wl_comp_data->resize.edges = 0;
break;
}
}