diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-11-24 17:29:53 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-12-04 16:00:37 -0500 |
commit | 874c9d43bd463455d631e454324188302724f805 (patch) | |
tree | fea95145ebe095f8fd84ac65fe70dd09dd9368de | |
parent | a30c4b574ef52970788514702e3f6db939f295fa (diff) | |
download | enlightenment-874c9d43bd463455d631e454324188302724f805.tar.gz |
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
-rw-r--r-- | src/bin/e_comp_wl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 982329ac65..6f0888b9cc 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -566,6 +566,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) { |