Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
e664ba0c
Commit
e664ba0c
authored
Oct 25, 2021
by
Rémi Bernon
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Stop enforcing relative rawinput mouse positions.
parent
9de8252a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
queue.c
server/queue.c
+3
-3
No files found.
server/queue.c
View file @
e664ba0c
...
...
@@ -1861,10 +1861,10 @@ static int queue_mouse_message( struct desktop *desktop, user_handle_t win, cons
msg_data
=
&
raw_msg
.
data
;
msg_data
->
info
=
input
->
mouse
.
info
;
msg_data
->
size
=
sizeof
(
*
msg_data
);
msg_data
->
flags
=
flags
&
~
(
MOUSEEVENTF_ABSOLUTE
|
MOUSEEVENTF_VIRTUALDESK
)
;
msg_data
->
flags
=
flags
;
msg_data
->
rawinput
.
type
=
RIM_TYPEMOUSE
;
msg_data
->
rawinput
.
mouse
.
x
=
x
-
desktop
->
cursor
.
x
;
msg_data
->
rawinput
.
mouse
.
y
=
y
-
desktop
->
cursor
.
y
;
msg_data
->
rawinput
.
mouse
.
x
=
(
flags
&
MOUSEEVENTF_MOVE
)
?
input
->
mouse
.
x
:
0
;
msg_data
->
rawinput
.
mouse
.
y
=
(
flags
&
MOUSEEVENTF_MOVE
)
?
input
->
mouse
.
y
:
0
;
msg_data
->
rawinput
.
mouse
.
data
=
input
->
mouse
.
data
;
enum_processes
(
queue_rawinput_message
,
&
raw_msg
);
...
...
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