maximization bug affecting libreoffice and others - fix
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 5 Feb 2015 05:41:12 +0000 (14:41 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 5 Feb 2015 05:41:12 +0000 (14:41 +0900)
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

index 158a51234898ab56bfdaaa46ff595a0761df1bcd..15a0b7df38dac013f55b73486adc06df32f9c64a 100644 (file)
@@ -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))
           {