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
dffab36e
Commit
dffab36e
authored
May 05, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: The XIM callback is called with the X11 lock held.
parent
22328d0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
xim.c
dlls/winex11.drv/xim.c
+6
-6
No files found.
dlls/winex11.drv/xim.c
View file @
dffab36e
...
...
@@ -374,8 +374,10 @@ static void X11DRV_DestroyIM(XIM xim, XPointer p, XPointer data)
}
/***********************************************************************
* X11DRV Ime creation
*/
* X11DRV Ime creation
*
* Should always be called with the x11 lock held
*/
static
void
X11DRV_OpenIM
(
Display
*
display
,
XPointer
ptr
,
XPointer
data
)
{
struct
x11drv_thread_data
*
thread_data
=
x11drv_thread_data
();
...
...
@@ -385,13 +387,10 @@ static void X11DRV_OpenIM(Display *display, XPointer ptr, XPointer data)
XIM
xim
;
XIMCallback
destroy
;
wine_tsx11_lock
();
xim
=
XOpenIM
(
display
,
NULL
,
NULL
,
NULL
);
if
(
xim
==
NULL
)
{
WARN
(
"Could not open input method.
\n
"
);
wine_tsx11_unlock
();
return
;
}
...
...
@@ -411,7 +410,6 @@ static void X11DRV_OpenIM(Display *display, XPointer ptr, XPointer data)
{
WARN
(
"Could not find supported input style.
\n
"
);
XCloseIM
(
xim
);
wine_tsx11_unlock
();
return
;
}
else
...
...
@@ -474,8 +472,10 @@ 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_UpdateAssociation
(
NULL
);
wine_tsx11_lock
();
}
...
...
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