discomfitor pushed a commit to branch enlightenment-0.19.

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

commit 20cf69893ea50f82eda779808e84fc80e1ff04aa
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 63c9cb1..3660e3e 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -517,9 +517,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)
           {
@@ -532,8 +532,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