raster pushed a commit to branch master.

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

commit c87ca3e892d9f3e0ec696c65002e39973492bf69
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Feb 5 14:41:12 2015 +0900

    maximization bug affecting libreoffice and others - fix
    
    the problem is something changes window gravity... what i don't know,
    but hey - just forcibly move window to 0,0 which is where we expect it
    anyway when resizing.
    
    @fix
---
 src/bin/e_comp_x.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 158a512..15a0b7d 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -516,9 +516,9 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
                                         ec->client.w,
                                         ec->client.h);
              if (ec->comp_data->reparented)
-               ecore_x_window_resize(e_client_util_win_get(ec),
-                                     ec->client.w,
-                                     ec->client.h);
+               ecore_x_window_move_resize(e_client_util_win_get(ec), 0, 0,
+                                          ec->client.w,
+                                          ec->client.h);
           }
         else if (ec->post_move)
           {
@@ -531,8 +531,8 @@ _e_comp_x_post_client_idler_cb(void *d EINA_UNUSED)
              ecore_x_window_resize(win,
                                    ec->client.w, ec->client.h);
              if (ec->comp_data->reparented)
-               ecore_x_window_resize(e_client_util_win_get(ec),
-                                     ec->client.w, ec->client.h);
+               ecore_x_window_move_resize(e_client_util_win_get(ec), 0, 0,
+                                          ec->client.w, ec->client.h);
           }
         if ((!ec->shading) && (!ec->shaded))
           {

-- 


Reply via email to