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
e06dd2cf
Commit
e06dd2cf
authored
Apr 14, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A workaround for missing real support for keyboard layout APIs.
parent
94945f73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
keyboard.c
dlls/x11drv/keyboard.c
+11
-0
No files found.
dlls/x11drv/keyboard.c
View file @
e06dd2cf
...
@@ -1554,7 +1554,18 @@ HKL X11DRV_GetKeyboardLayout(DWORD dwThreadid)
...
@@ -1554,7 +1554,18 @@ HKL X11DRV_GetKeyboardLayout(DWORD dwThreadid)
if
(
dwThreadid
)
if
(
dwThreadid
)
FIXME
(
"couldn't return keyboard layout for thread %04lx
\n
"
,
dwThreadid
);
FIXME
(
"couldn't return keyboard layout for thread %04lx
\n
"
,
dwThreadid
);
#if 0
layout = main_key_tab[kbd_layout].lcid;
layout = main_key_tab[kbd_layout].lcid;
#else
/* FIXME:
* Winword uses return value of GetKeyboardLayout as a codepage
* to translate ANSI keyboard messages to unicode. But we have
* a problem with it: for instance Polish keyboard layout is
* identical to the US one, and therefore instead of the Polish
* locale id we return the US one.
*/
layout
=
GetUserDefaultLCID
();
#endif
/*
/*
* Microsoft Office expects this value to be something specific
* Microsoft Office expects this value to be something specific
* for Japanese and Korean Windows with an IME the value is 0xe001
* for Japanese and Korean Windows with an IME the value is 0xe001
...
...
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