Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bda517c0
Commit
bda517c0
authored
May 07, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
May 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Implement KLF_ACTIVATE flag in LoadKeyboardLayoutW.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4bec69b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
input.c
dlls/user32/input.c
+9
-0
No files found.
dlls/user32/input.c
View file @
bda517c0
...
...
@@ -1540,7 +1540,16 @@ BOOL WINAPI UnregisterHotKey(HWND hwnd,INT id)
*/
HKL
WINAPI
LoadKeyboardLayoutW
(
const
WCHAR
*
name
,
UINT
flags
)
{
DWORD
tmp
;
HKL
layout
;
FIXME_
(
keyboard
)(
"name %s, flags %x, semi-stub!
\n
"
,
debugstr_w
(
name
),
flags
);
tmp
=
wcstoul
(
name
,
NULL
,
16
);
layout
=
UlongToHandle
(
tmp
);
if
((
flags
&
KLF_ACTIVATE
)
&&
ActivateKeyboardLayout
(
layout
,
0
))
return
layout
;
/* FIXME: semi-stub: returning default layout */
return
get_locale_kbd_layout
();
}
...
...
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