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
f044f401
Commit
f044f401
authored
May 03, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
May 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Factor unsupported cases into ActivateKeyboardLayout.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
66a46120
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
19 deletions
+9
-19
input.c
dlls/user32/input.c
+9
-0
keyboard.c
dlls/winemac.drv/keyboard.c
+0
-9
keyboard.c
dlls/winex11.drv/keyboard.c
+0
-10
No files found.
dlls/user32/input.c
View file @
f044f401
...
...
@@ -1316,6 +1316,15 @@ HKL WINAPI ActivateKeyboardLayout( HKL layout, UINT flags )
TRACE_
(
keyboard
)(
"layout %p, flags %x
\n
"
,
layout
,
flags
);
if
(
flags
)
FIXME_
(
keyboard
)(
"flags %x not supported
\n
"
,
flags
);
if
(
layout
==
(
HKL
)
HKL_NEXT
||
layout
==
(
HKL
)
HKL_PREV
)
{
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
FIXME_
(
keyboard
)(
"HKL_NEXT and HKL_PREV not supported
\n
"
);
return
0
;
}
if
((
old_layout
=
USER_Driver
->
pActivateKeyboardLayout
(
layout
,
flags
))
!=
(
HKL
)
~
0
)
return
old_layout
;
...
...
dlls/winemac.drv/keyboard.c
View file @
f044f401
...
...
@@ -1169,15 +1169,6 @@ HKL CDECL macdrv_ActivateKeyboardLayout(HKL hkl, UINT flags)
TRACE
(
"hkl %p flags %04x
\n
"
,
hkl
,
flags
);
if
(
flags
)
FIXME
(
"flags %x not supported
\n
"
,
flags
);
if
(
hkl
==
(
HKL
)
HKL_NEXT
||
hkl
==
(
HKL
)
HKL_PREV
)
{
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
FIXME
(
"HKL_NEXT and HKL_PREV not supported
\n
"
);
return
0
;
}
EnterCriticalSection
(
&
layout_list_section
);
update_layout_list
();
...
...
dlls/winex11.drv/keyboard.c
View file @
f044f401
...
...
@@ -1943,16 +1943,6 @@ HKL CDECL X11DRV_ActivateKeyboardLayout(HKL hkl, UINT flags)
return
0
;
}
if
(
flags
)
FIXME
(
"flags %x not supported
\n
"
,
flags
);
if
(
hkl
==
(
HKL
)
HKL_NEXT
||
hkl
==
(
HKL
)
HKL_PREV
)
{
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
FIXME
(
"HKL_NEXT and HKL_PREV not supported
\n
"
);
return
0
;
}
if
(
!
match_x11_keyboard_layout
(
hkl
))
{
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
...
...
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