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
0bcc941f
Commit
0bcc941f
authored
Oct 24, 2006
by
Aric Stewart
Committed by
Alexandre Julliard
Oct 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Only create a fontSet if we are going to be using it in the XIC.
parent
530abd2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
xim.c
dlls/winex11.drv/xim.c
+17
-12
No files found.
dlls/winex11.drv/xim.c
View file @
0bcc941f
...
@@ -456,7 +456,7 @@ err:
...
@@ -456,7 +456,7 @@ err:
XIC
X11DRV_CreateIC
(
XIM
xim
,
Display
*
display
,
Window
win
)
XIC
X11DRV_CreateIC
(
XIM
xim
,
Display
*
display
,
Window
win
)
{
{
XFontSet
fontSet
;
XFontSet
fontSet
=
NULL
;
char
**
list
;
char
**
list
;
int
count
;
int
count
;
XPoint
spot
=
{
0
};
XPoint
spot
=
{
0
};
...
@@ -485,22 +485,27 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
...
@@ -485,22 +485,27 @@ XIC X11DRV_CreateIC(XIM xim, Display *display, Window win)
return
xic
;
return
xic
;
}
}
fontSet
=
XCreateFontSet
(
display
,
"*"
,
/*FIXME*/
&
list
,
&
count
,
NULL
);
TRACE
(
"ximFontSet = %p
\n
"
,
fontSet
);
if
(((
ximStyle
&
(
XIMPreeditNothing
|
XIMPreeditNone
))
==
0
)
||
TRACE
(
"list = %p, count = %d
\n
"
,
list
,
count
);
((
ximStyle
&
(
XIMStatusNothing
|
XIMStatusNone
))
==
0
))
if
(
list
!=
NULL
)
{
{
int
i
;
fontSet
=
XCreateFontSet
(
display
,
"*"
,
/*FIXME*/
&
list
,
&
count
,
NULL
);
TRACE
(
"ximFontSet = %p
\n
"
,
fontSet
);
TRACE
(
"list = %p, count = %d
\n
"
,
list
,
count
);
for
(
i
=
0
;
i
<
count
;
++
i
)
if
(
list
!=
NULL
)
{
{
TRACE
(
"list[%d] = %s
\n
"
,
i
,
list
[
i
]);
int
i
;
for
(
i
=
0
;
i
<
count
;
++
i
)
{
TRACE
(
"list[%d] = %s
\n
"
,
i
,
list
[
i
]);
}
XFreeStringList
(
list
);
}
}
XFreeStringList
(
list
);
}
}
/* create callbacks */
/* create callbacks */
...
...
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