forked from enlightenment/enlightenment
adjust for SSD geometry during wayland client resize
client moveinfo includes the frame geometry, so this must be taken into account when resizing a client which has a frame fix T2863
This commit is contained in:
parent
0ed63ede7c
commit
e8f4f30f40
|
@ -580,6 +580,8 @@ _e_comp_wl_evas_cb_resize(void *data, Evas_Object *obj EINA_UNUSED, void *event
|
|||
|
||||
x = ec->mouse.last_down[ec->moveinfo.down.button - 1].w;
|
||||
y = ec->mouse.last_down[ec->moveinfo.down.button - 1].h;
|
||||
if (e_comp_object_frame_exists(ec->frame))
|
||||
e_comp_object_frame_wh_unadjust(ec->frame, x, y, &x, &y);
|
||||
|
||||
switch (ec->resize_mode)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue