[PATCH 0/1] MR4482: Draft: Update window.c to translate coordinates from 0 to -1
From: Mini Gaunt <jacobh117(a)gmail.com> --- dlls/winex11.drv/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 53982bb8c3b..9d723d09965 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -2825,7 +2825,7 @@ UINT X11DRV_ShowWindow( HWND hwnd, INT cmd, RECT *rect, UINT swp ) XGetGeometry( thread_data->display, data->whole_window, &root, &x, &y, &width, &height, &border, &depth ); - XTranslateCoordinates( thread_data->display, data->whole_window, root, 0, 0, &x, &y, &top ); + XTranslateCoordinates( thread_data->display, data->whole_window, root, -1, -1, &x, &y, &top ); pos = root_to_virtual_screen( x, y ); X11DRV_X_to_window_rect( data, rect, pos.x, pos.y, width, height ); swp &= ~(SWP_NOMOVE | SWP_NOCLIENTMOVE | SWP_NOSIZE | SWP_NOCLIENTSIZE); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4482
This merge request was closed by Mini Gaunt. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4482
participants (2)
-
Mini Gaunt -
Mini Gaunt (@Mini-Gaunt)