diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-04-04 14:03:17 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-04-04 14:03:17 -0400 |
commit | ed6448eb2198122efa0ff86abe7efe4652b07cbb (patch) | |
tree | 38cbc358b5b02ca0096ab4e87d3e584adfb9e13f | |
parent | 687b5fb6b69f4847c2d68aa0d047955d771ca873 (diff) | |
download | enlightenment-ed6448eb2198122efa0ff86abe7efe4652b07cbb.tar.gz |
send fake www data during maximize
-rw-r--r-- | src/bin/e_comp_wl.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index f47cc1f663..16f98cd37a 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -572,9 +572,15 @@ _e_comp_wl_evas_cb_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_U if (e_object_is_del(E_OBJECT(ec))) return; if (ec->comp_data->www.surface) { - if (ec->comp_data->moved && (!ec->maximized) && (!ec->fullscreen)) - www_surface_send_status(ec->comp_data->www.surface, - ec->x - ec->comp_data->www.x, ec->y - ec->comp_data->www.y, lround(ecore_loop_time_get())); + if (ec->comp_data->moved) + { + if ((!ec->maximized) && (!ec->fullscreen) && (!ec->comp_data->maximizing) && (!ec->maximize_override)) + www_surface_send_status(ec->comp_data->www.surface, + ec->x - ec->comp_data->www.x, ec->y - ec->comp_data->www.y, lround(ecore_loop_time_get())); + else if (ec->comp_data->maximizing || ec->maximize_override) + www_surface_send_status(ec->comp_data->www.surface, + ec->w / 3, ec->h / 3, lround(ecore_loop_time_get())); + } ec->comp_data->www.x = ec->x; ec->comp_data->www.y = ec->y; } |