From 2e46c671d69f8ec3b013a832fc92a05fdd198a45 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 12 May 2011 16:25:50 +0200 Subject: [PATCH] winex11: Set the desktop window gravity to NorthWest to avoid spurious position changes. --- dlls/winex11.drv/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 9e676123a06..6a87afce489 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -982,6 +982,7 @@ static void set_size_hints( Display *display, struct x11drv_win_data *data, DWOR size_hints->y = data->whole_rect.top; size_hints->flags |= PPosition; } + else size_hints->win_gravity = NorthWestGravity; if (!is_window_resizable( data, style )) {