projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git.1]
/
src
/
input-method-xlib.c
diff --git
a/src/input-method-xlib.c
b/src/input-method-xlib.c
index
30b3072
..
8a1f3ca
100644
(file)
--- a/
src/input-method-xlib.c
+++ b/
src/input-method-xlib.c
@@
-426,13
+426,18
@@
XIM_init_frame (struct frame *f)
void
XIM_SetGeometry (struct frame *f)
{
void
XIM_SetGeometry (struct frame *f)
{
- XIC xic = FRAME_X_XIC (f);
- XIMStyle style = FRAME_X_XIC_STYLE (f);
+ XIC xic;
+ XIMStyle style;
XRectangle area;
XRectangle area;
- if (!xic || !f)
+ if (!f)
+ return;
+
+ xic = FRAME_X_XIC (f);
+ if (!xic)
return;
return;
+ style = FRAME_X_XIC_STYLE (f);
if (style & XIMStatusArea)
{
/* Place Status Area in bottom right corner */
if (style & XIMStatusArea)
{
/* Place Status Area in bottom right corner */