From c87ca3e892d9f3e0ec696c65002e39973492bf69 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 5 Feb 2015 14:41:12 +0900 Subject: [PATCH] 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 158a51234..15a0b7df3 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)) {