Commit d9f8f704 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Fix mouse coordinates mapping on desktop window.

parent f40b0458
...@@ -172,11 +172,6 @@ static void update_mouse_state( HWND hwnd, Window window, int x, int y, unsigned ...@@ -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(); 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 ); get_coords( hwnd, window, x, y, pt );
/* update the cursor */ /* update the cursor */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment