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
9f05a79b
Commit
9f05a79b
authored
May 13, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
May 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Drop the x11drv_ime_update_association user callback.
parent
55b9b2f6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
20 deletions
+2
-20
dllmain.c
dlls/winex11.drv/dllmain.c
+0
-1
ime.c
dlls/winex11.drv/ime.c
+0
-13
unixlib.h
dlls/winex11.drv/unixlib.h
+0
-1
x11drv_dll.h
dlls/winex11.drv/x11drv_dll.h
+0
-1
xim.c
dlls/winex11.drv/xim.c
+2
-4
No files found.
dlls/winex11.drv/dllmain.c
View file @
9f05a79b
...
...
@@ -30,7 +30,6 @@ static const callback_func callback_funcs[] =
{
x11drv_dnd_drop_event
,
x11drv_dnd_leave_event
,
x11drv_ime_update_association
,
};
C_ASSERT
(
ARRAYSIZE
(
callback_funcs
)
==
client_funcs_count
);
...
...
dlls/winex11.drv/ime.c
View file @
9f05a79b
...
...
@@ -146,16 +146,3 @@ BOOL WINAPI ImeSelect(HIMC hIMC, BOOL fSelect)
return
TRUE
;
}
/* Interfaces to XIM and other parts of winex11drv */
NTSTATUS
x11drv_ime_update_association
(
UINT
arg
)
{
HWND
focus
=
UlongToHandle
(
arg
);
ImmGetContext
(
focus
);
if
(
focus
&&
hSelectedFrom
)
ImmAssociateContext
(
focus
,
RealIMC
(
FROM_X11
));
return
0
;
}
dlls/winex11.drv/unixlib.h
View file @
9f05a79b
...
...
@@ -92,7 +92,6 @@ enum client_callback
{
client_dnd_drop_event
,
client_dnd_leave_event
,
client_ime_update_association
,
client_funcs_count
};
...
...
dlls/winex11.drv/x11drv_dll.h
View file @
9f05a79b
...
...
@@ -34,7 +34,6 @@ extern NTSTATUS WINAPI x11drv_systray_change_owner( void *params, ULONG size ) D
extern
NTSTATUS
x11drv_dnd_drop_event
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_dnd_leave_event
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
x11drv_ime_update_association
(
UINT
arg
)
DECLSPEC_HIDDEN
;
extern
LRESULT
WINAPI
foreign_window_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
DECLSPEC_HIDDEN
;
...
...
dlls/winex11.drv/xim.c
View file @
9f05a79b
...
...
@@ -410,8 +410,6 @@ static void xim_open( Display *display, XPointer user, XPointer arg )
TRACE
(
"display %p, data %p, arg %p
\n
"
,
display
,
user
,
arg
);
if
(
!
(
data
->
xim
=
xim_create
(
data
)))
return
;
XUnregisterIMInstantiateCallback
(
display
,
NULL
,
NULL
,
NULL
,
xim_open
,
user
);
x11drv_client_call
(
client_ime_update_association
,
0
);
}
static
void
xim_destroy
(
XIM
xim
,
XPointer
user
,
XPointer
arg
)
...
...
@@ -434,8 +432,8 @@ void xim_thread_attach( struct x11drv_thread_data *data )
for
(
i
=
0
;
list
&&
i
<
count
;
++
i
)
TRACE
(
" %d: %s
\n
"
,
i
,
list
[
i
]
);
if
(
list
)
XFreeStringList
(
list
);
if
((
data
->
xim
=
xim_create
(
data
)))
x11drv_client_call
(
client_ime_update_association
,
0
)
;
else
XRegisterIMInstantiateCallback
(
display
,
NULL
,
NULL
,
NULL
,
xim_open
,
(
XPointer
)
data
);
if
((
data
->
xim
=
xim_create
(
data
)))
return
;
XRegisterIMInstantiateCallback
(
display
,
NULL
,
NULL
,
NULL
,
xim_open
,
(
XPointer
)
data
);
}
static
BOOL
xic_destroy
(
XIC
xic
,
XPointer
user
,
XPointer
arg
)
...
...
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