Module: wine Branch: master Commit: 82642e34e1835e1eb600c766a2f0f321310a4aa9 URL: https://gitlab.winehq.org/wine/wine/-/commit/82642e34e1835e1eb600c766a2f0f32...
Author: Rémi Bernon rbernon@codeweavers.com Date: Tue Jul 25 16:33:57 2023 +0200
server: Update the desktop cursor position / window on click.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55306
---
server/queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/queue.c b/server/queue.c index 9007438e082..df5d96486fb 100644 --- a/server/queue.c +++ b/server/queue.c @@ -1679,9 +1679,9 @@ static void queue_hardware_message( struct desktop *desktop, struct message *msg break; case QS_MOUSEMOVE: prepend_cursor_history( msg->x, msg->y, msg->time, msg_data->info ); - if (update_desktop_cursor_pos( desktop, msg->win, msg->x, msg->y )) always_queue = 1; /* fallthrough */ case QS_MOUSEBUTTON: + if (update_desktop_cursor_pos( desktop, msg->win, msg->x, msg->y )) always_queue = 1; if (desktop->keystate[VK_LBUTTON] & 0x80) msg->wparam |= MK_LBUTTON; if (desktop->keystate[VK_MBUTTON] & 0x80) msg->wparam |= MK_MBUTTON; if (desktop->keystate[VK_RBUTTON] & 0x80) msg->wparam |= MK_RBUTTON;