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:
Mike Blumenkrantz 2015-11-24 17:29:53 -05:00
parent 0ed63ede7c
commit e8f4f30f40
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{