Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
24ad74ee
Commit
24ad74ee
authored
Feb 13, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Send emulated mouse messages on primary pointer updates.
parent
40b65e28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
queue.c
server/queue.c
+17
-0
No files found.
server/queue.c
View file @
24ad74ee
...
...
@@ -2274,6 +2274,23 @@ static void queue_pointer_message( struct pointer *pointer, int repeated )
queue_hardware_message
(
desktop
,
msg
,
1
);
}
if
(
!
repeated
&&
pointer
->
primary
&&
(
msg
=
alloc_hardware_message
(
0xff515700
,
source
,
time
,
0
)))
{
unsigned
int
message
=
WM_MOUSEMOVE
;
if
(
input
->
hw
.
msg
==
WM_POINTERDOWN
)
message
=
WM_LBUTTONDOWN
;
else
if
(
input
->
hw
.
msg
==
WM_POINTERUP
)
message
=
WM_LBUTTONUP
;
msg
->
win
=
get_user_full_handle
(
win
);
msg
->
msg
=
message
;
msg
->
wparam
=
0
;
msg
->
lparam
=
0
;
msg
->
x
=
x
;
msg
->
y
=
y
;
if
(
!
send_hook_ll_message
(
desktop
,
msg
,
input
,
NULL
))
queue_hardware_message
(
desktop
,
msg
,
0
);
}
if
(
input
->
hw
.
msg
!=
WM_POINTERUP
)
{
pointer
->
input
.
hw
.
msg
=
WM_POINTERUPDATE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment