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
5b833c83
Commit
5b833c83
authored
Jan 20, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Stop waiting on LL-hooks for non-injected input.
parent
4bba16fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
queue.c
server/queue.c
+5
-3
No files found.
server/queue.c
View file @
5b833c83
...
...
@@ -2871,7 +2871,8 @@ DECL_HANDLER(send_hardware_message)
{
struct
desktop
*
desktop
;
unsigned
int
origin
=
(
req
->
flags
&
SEND_HWMSG_INJECTED
?
IMO_INJECTED
:
IMO_HARDWARE
);
struct
msg_queue
*
sender
=
get_current_queue
();
struct
msg_queue
*
sender
=
req
->
flags
&
SEND_HWMSG_INJECTED
?
get_current_queue
()
:
NULL
;
int
wait
=
0
;
if
(
!
(
desktop
=
get_hardware_input_desktop
(
req
->
win
)))
return
;
if
((
origin
==
IMO_INJECTED
&&
desktop
!=
current
->
queue
->
input
->
desktop
)
||
...
...
@@ -2888,10 +2889,10 @@ DECL_HANDLER(send_hardware_message)
switch
(
req
->
input
.
type
)
{
case
INPUT_MOUSE
:
reply
->
wait
=
queue_mouse_message
(
desktop
,
req
->
win
,
&
req
->
input
,
origin
,
sender
);
wait
=
queue_mouse_message
(
desktop
,
req
->
win
,
&
req
->
input
,
origin
,
sender
);
break
;
case
INPUT_KEYBOARD
:
reply
->
wait
=
queue_keyboard_message
(
desktop
,
req
->
win
,
&
req
->
input
,
origin
,
sender
);
wait
=
queue_keyboard_message
(
desktop
,
req
->
win
,
&
req
->
input
,
origin
,
sender
);
break
;
case
INPUT_HARDWARE
:
queue_custom_hardware_message
(
desktop
,
req
->
win
,
origin
,
&
req
->
input
);
...
...
@@ -2900,6 +2901,7 @@ DECL_HANDLER(send_hardware_message)
set_error
(
STATUS_INVALID_PARAMETER
);
}
reply
->
wait
=
sender
?
wait
:
0
;
reply
->
new_x
=
desktop
->
cursor
.
x
;
reply
->
new_y
=
desktop
->
cursor
.
y
;
release_object
(
desktop
);
...
...
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