From d9f8f704abbb17d705d30c7c944a3a9081fbce17 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 18 Mar 2008 12:20:16 +0100 Subject: [PATCH] winex11: Fix mouse coordinates mapping on desktop window. --- dlls/winex11.drv/mouse.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index 736c5d98a2f..8301386571f 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 */ -- 2.11.4.GIT