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
27ff04e2
Commit
27ff04e2
authored
Nov 10, 2018
by
Andre Heider
Committed by
Alexandre Julliard
Nov 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Fix keyboard hardware message regression.
Signed-off-by:
Andre Heider
<
a.heider@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aaca286c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
queue.c
server/queue.c
+6
-3
No files found.
server/queue.c
View file @
27ff04e2
...
...
@@ -1775,11 +1775,11 @@ static int queue_keyboard_message( struct desktop *desktop, user_handle_t win, c
break
;
}
if
(
!
(
msg
=
alloc_hardware_message
(
input
->
kbd
.
info
,
source
,
time
)))
return
0
;
msg_data
=
msg
->
data
;
if
((
device
=
current
->
process
->
rawinput_kbd
))
{
if
(
!
(
msg
=
alloc_hardware_message
(
input
->
kbd
.
info
,
source
,
time
)))
return
0
;
msg_data
=
msg
->
data
;
msg
->
win
=
device
->
target
;
msg
->
msg
=
WM_INPUT
;
msg
->
wparam
=
RIM_INPUT
;
...
...
@@ -1793,6 +1793,9 @@ static int queue_keyboard_message( struct desktop *desktop, user_handle_t win, c
queue_hardware_message
(
desktop
,
msg
,
0
);
}
if
(
!
(
msg
=
alloc_hardware_message
(
input
->
kbd
.
info
,
source
,
time
)))
return
0
;
msg_data
=
msg
->
data
;
msg
->
win
=
get_user_full_handle
(
win
);
msg
->
msg
=
message_code
;
msg
->
lparam
=
(
input
->
kbd
.
scan
<<
16
)
|
1u
;
/* repeat count */
...
...
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