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
936e8473
Commit
936e8473
authored
Apr 26, 2008
by
ByeongSik Jeon
Committed by
Alexandre Julliard
Apr 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Set the vkey value to VK_PROCESSKEY when IME process key.
parent
63d81263
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
message.c
dlls/user32/message.c
+8
-2
No files found.
dlls/user32/message.c
View file @
936e8473
...
...
@@ -36,6 +36,7 @@
#include "dbt.h"
#include "dde.h"
#include "imm.h"
#include "ddk/imm.h"
#include "wine/unicode.h"
#include "wine/server.h"
#include "user_private.h"
...
...
@@ -1747,6 +1748,11 @@ static BOOL process_keyboard_message( MSG *msg, UINT hw_id, HWND hwnd_filter,
return
FALSE
;
}
accept_hardware_message
(
hw_id
,
remove
,
0
);
if
(
msg
->
message
==
WM_KEYDOWN
||
msg
->
message
==
WM_KEYUP
)
if
(
ImmProcessKey
(
msg
->
hwnd
,
GetKeyboardLayout
(
0
),
msg
->
wParam
,
msg
->
lParam
,
0
)
)
msg
->
wParam
=
VK_PROCESSKEY
;
return
TRUE
;
}
...
...
@@ -2995,8 +3001,8 @@ BOOL WINAPI TranslateMessage( const MSG *msg )
TRACE_
(
key
)(
"Translating key %s (%04lx), scancode %02x
\n
"
,
SPY_GetVKeyName
(
msg
->
wParam
),
msg
->
wParam
,
LOBYTE
(
HIWORD
(
msg
->
lParam
)));
if
(
ImmProcessKey
(
msg
->
hwnd
,
GetKeyboardLayout
(
0
),
msg
->
wParam
,
msg
->
lParam
,
0
)
)
return
TRUE
;
if
(
msg
->
wParam
==
VK_PROCESSKEY
)
return
ImmTranslateMessage
(
msg
->
hwnd
,
msg
->
message
,
msg
->
wParam
,
msg
->
lParam
)
;
GetKeyboardState
(
state
);
/* FIXME : should handle ToUnicode yielding 2 */
...
...
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