winex11.drv: Don't remap root_window relative coordinates.
commit9b6b09053a1f19654d061c386ea929f3af3218da
authorRémi Bernon <rbernon@codeweavers.com>
Tue, 6 Apr 2021 15:47:39 +0000 (6 17:47 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 6 Apr 2021 20:46:12 +0000 (6 22:46 +0200)
tree5bfff397b46fadb54d7af74058a8551c559b2dae
parent6d6b42024321e576ae58c3c4e36b34b0902f23c6
winex11.drv: Don't remap root_window relative coordinates.

We already converted coordinates from root to virtual screen, we
shouldn't need to remap them.

This is actually no-op because when window == root_window, hwnd is
the desktop window. In which case it isn't RTL, and MapWindowPoints is
no-op too.

It makes things less confusing and it will help later cases when we get
root-relative coordinates for other windows.

Based on a patch from Gabriel Ivăncescu <gabrielopcode@gmail.com>.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46309
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winex11.drv/mouse.c