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
bf05ded7
Commit
bf05ded7
authored
Apr 29, 2008
by
Kusanagi Kouichi
Committed by
Alexandre Julliard
Apr 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Allow XIM server to be started after Wine.
parent
efa04011
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
19 deletions
+0
-19
ime.c
dlls/winex11.drv/ime.c
+0
-17
x11drv.h
dlls/winex11.drv/x11drv.h
+0
-1
xim.c
dlls/winex11.drv/xim.c
+0
-1
No files found.
dlls/winex11.drv/ime.c
View file @
bf05ded7
...
...
@@ -75,7 +75,6 @@ static const WCHAR UI_CLASS_NAME[] = {'W','i','n','e','X','1','1','I','M','E',0}
static
HIMC
*
hSelectedFrom
=
NULL
;
static
INT
hSelectedCount
=
0
;
static
BOOL
hXIMPresent
=
FALSE
;
/* MSIME messages */
static
UINT
WM_MSIME_SERVICE
;
...
...
@@ -521,11 +520,6 @@ BOOL WINAPI ImeInquire(LPIMEINFO lpIMEInfo, LPWSTR lpszUIClass,
LPCWSTR
lpszOption
)
{
TRACE
(
"
\n
"
);
if
(
!
hXIMPresent
)
{
ERR
(
"No XIM in the back end
\n
"
);
return
FALSE
;
}
lpIMEInfo
->
dwPrivateDataSize
=
sizeof
(
IMEPRIVATE
);
lpIMEInfo
->
fdwProperty
=
IME_PROP_UNICODE
|
IME_PROP_AT_CARET
;
lpIMEInfo
->
fdwConversionCaps
=
IME_CMODE_NATIVE
;
...
...
@@ -592,12 +586,6 @@ BOOL WINAPI ImeSelect(HIMC hIMC, BOOL fSelect)
return
FALSE
;
}
if
(
!
hXIMPresent
)
{
ERR
(
"No XIM in the back end
\n
"
);
return
FALSE
;
}
if
(
!
hIMC
)
return
TRUE
;
...
...
@@ -981,11 +969,6 @@ void IME_SetOpenStatus(BOOL fOpen)
ImmSetOpenStatus
(
RealIMC
(
FROM_X11
),
fOpen
);
}
void
IME_XIMPresent
(
BOOL
present
)
{
hXIMPresent
=
present
;
}
LRESULT
IME_SendMessageToSelectedHWND
(
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
LPINPUTCONTEXT
lpIMC
;
...
...
dlls/winex11.drv/x11drv.h
View file @
bf05ded7
...
...
@@ -277,7 +277,6 @@ extern BOOL destroy_glxpixmap(Display *display, XID glxpixmap);
extern
void
IME_RegisterClasses
(
HINSTANCE
hImeInst
);
extern
void
IME_UnregisterClasses
(
HINSTANCE
hImeInst
);
extern
void
IME_SetOpenStatus
(
BOOL
fOpen
);
extern
void
IME_XIMPresent
(
BOOL
present
);
extern
LRESULT
IME_SendMessageToSelectedHWND
(
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
);
extern
INT
IME_GetCursorPos
();
extern
void
IME_SetCursorPos
(
DWORD
pos
);
...
...
dlls/winex11.drv/xim.c
View file @
bf05ded7
...
...
@@ -475,7 +475,6 @@ static void X11DRV_OpenIM(Display *display, XPointer ptr, XPointer data)
thread_data
->
xim
=
xim
;
XUnregisterIMInstantiateCallback
(
display
,
NULL
,
NULL
,
NULL
,
X11DRV_OpenIM
,
NULL
);
wine_tsx11_unlock
();
IME_XIMPresent
(
TRUE
);
IME_UpdateAssociation
(
NULL
);
}
...
...
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