From: Rémi Bernon <rbernon(a)codeweavers.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56622 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57003 --- dlls/winex11.drv/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 98cb7952164..aa4f43f1cc3 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1410,8 +1410,8 @@ static void sync_window_position( struct x11drv_win_data *data, mask |= CWWidth | CWHeight; } - /* only the size is allowed to change for the desktop window */ - if (data->whole_window != root_window) + /* only the size is allowed to change for the desktop window or systray docked windows */ + if (data->whole_window != root_window && !data->embedded) { POINT pt = virtual_screen_to_root( data->whole_rect.left, data->whole_rect.top ); changes.x = pt.x; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6233