discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=ed6448eb2198122efa0ff86abe7efe4652b07cbb

commit ed6448eb2198122efa0ff86abe7efe4652b07cbb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 4 14:03:17 2016 -0400

    send fake www data during maximize
---
 src/bin/e_comp_wl.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index f47cc1f..16f98cd 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;
      }

-- 


Reply via email to