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
0aa3b85b
Commit
0aa3b85b
authored
Mar 27, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Enumerate input contexts in ImmActivateLayout.
parent
462d5ca2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
imm.c
dlls/imm32/imm.c
+9
-1
No files found.
dlls/imm32/imm.c
View file @
0aa3b85b
...
@@ -564,13 +564,21 @@ static void ime_release( struct ime *ime )
...
@@ -564,13 +564,21 @@ static void ime_release( struct ime *ime )
LeaveCriticalSection
(
&
ime_cs
);
LeaveCriticalSection
(
&
ime_cs
);
}
}
static
BOOL
CALLBACK
enum_activate_layout
(
HIMC
himc
,
LPARAM
lparam
)
{
if
(
ImmLockIMC
(
himc
))
ImmUnlockIMC
(
himc
);
return
TRUE
;
}
BOOL
WINAPI
ImmActivateLayout
(
HKL
hkl
)
BOOL
WINAPI
ImmActivateLayout
(
HKL
hkl
)
{
{
FIXME
(
"hkl %p semi-stub!
\n
"
,
hkl
);
TRACE
(
"hkl %p
\n
"
,
hkl
);
if
(
hkl
==
GetKeyboardLayout
(
0
))
return
TRUE
;
if
(
hkl
==
GetKeyboardLayout
(
0
))
return
TRUE
;
if
(
!
ActivateKeyboardLayout
(
hkl
,
0
))
return
FALSE
;
if
(
!
ActivateKeyboardLayout
(
hkl
,
0
))
return
FALSE
;
ImmEnumInputContext
(
0
,
enum_activate_layout
,
0
);
return
TRUE
;
return
TRUE
;
}
}
...
...
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