winex11: Fix mouse coordinates mapping on desktop window.

This commit is contained in:
Alexandre Julliard 2008-03-18 12:20:16 +01:00
parent f40b045858
commit d9f8f704ab
1 changed files with 0 additions and 5 deletions

View File

@ -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 */