mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 19:37:28 +00:00
server: Update the desktop cursor position / window on click.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55306
This commit is contained in:
parent
77b3662517
commit
82642e34e1
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue