forked from enlightenment/enlightenment
wl clients should not use edges during keyboard resize
ref T2452
This commit is contained in:
parent
ecb5f4ca41
commit
7859787f73
|
@ -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->shading) || (ec->shaded)) return;
|
||||||
if (!ec->comp_data->shell.configure_send) 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;
|
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;
|
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)
|
switch (ec->resize_mode)
|
||||||
{
|
{
|
||||||
case E_POINTER_RESIZE_T: // 1
|
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;
|
e_comp->wl_comp_data->resize.edges = 10;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
e_comp->wl_comp_data->resize.edges = 0;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue