Alexandre Julliard : winex11: Fix mouse coordinates mapping on desktop window.
Alexandre Julliard
julliard at winehq.org
Tue Mar 18 07:44:56 CDT 2008
Module: wine
Branch: master
Commit: d9f8f704abbb17d705d30c7c944a3a9081fbce17
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d9f8f704abbb17d705d30c7c944a3a9081fbce17
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Mar 18 12:20:16 2008 +0100
winex11: Fix mouse coordinates mapping on desktop window.
---
dlls/winex11.drv/mouse.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index 736c5d9..8301386 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -172,11 +172,6 @@ static void update_mouse_state( HWND hwnd, Window window, int x, int y, unsigned
{
struct x11drv_thread_data *data = x11drv_thread_data();
- if (window == root_window)
- {
- x += virtual_screen_rect.left;
- y += virtual_screen_rect.top;
- }
get_coords( hwnd, window, x, y, pt );
/* update the cursor */
More information about the wine-cvs
mailing list