winex11: Fix mouse coordinates mapping on desktop window.
This commit is contained in:
parent
f40b045858
commit
d9f8f704ab
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue