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
41fa67c6
Commit
41fa67c6
authored
Apr 02, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Apr 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Remove non-CJK specific XIC creation logic.
parent
654651bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
24 deletions
+1
-24
xim.c
dlls/winex11.drv/xim.c
+1
-24
No files found.
dlls/winex11.drv/xim.c
View file @
41fa67c6
...
...
@@ -457,33 +457,10 @@ XIC X11DRV_CreateIC(XIM xim, struct x11drv_win_data *data)
XIC
xic
;
XICCallback
destroy
=
{(
XPointer
)
data
,
X11DRV_DestroyIC
};
XICCallback
P_StateNotifyCB
,
P_StartCB
,
P_DoneCB
,
P_DrawCB
,
P_CaretCB
;
LCID
lcid
;
Window
win
=
data
->
whole_window
;
XFontSet
fontSet
=
x11drv_thread_data
()
->
font_set
;
TRACE
(
"xim = %p
\n
"
,
xim
);
lcid
=
NtCurrentTeb
()
->
CurrentLocale
;
if
(
!
lcid
)
NtQueryDefaultLocale
(
TRUE
,
&
lcid
);
/* use complex and slow XIC initialization method only for CJK */
switch
(
PRIMARYLANGID
(
LANGIDFROMLCID
(
lcid
)))
{
case
LANG_CHINESE
:
case
LANG_JAPANESE
:
case
LANG_KOREAN
:
break
;
default:
xic
=
XCreateIC
(
xim
,
XNInputStyle
,
XIMPreeditNothing
|
XIMStatusNothing
,
XNClientWindow
,
win
,
XNFocusWindow
,
win
,
XNDestroyCallback
,
&
destroy
,
NULL
);
data
->
xic
=
xic
;
return
xic
;
}
TRACE
(
"xim %p, data %p
\n
"
,
xim
,
data
);
/* create callbacks */
P_StateNotifyCB
.
client_data
=
(
XPointer
)
data
;
...
...
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