Mercurial > emacs
comparison src/xfns.c @ 35592:52b5b50a0604
(xic_style): New variable.
(create_frame_xic): Move static variable to global scope for
the case that `static' get's defined away.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 26 Jan 2001 09:34:55 +0000 |
parents | 65c31f59048a |
children | 4f422aadd415 |
comparison
equal
deleted
inserted
replaced
35591:92a64125d228 | 35592:52b5b50a0604 |
---|---|
3270 return XIMPreeditNothing | XIMStatusNothing; | 3270 return XIMPreeditNothing | XIMStatusNothing; |
3271 } | 3271 } |
3272 | 3272 |
3273 /* Create XIC for frame F. */ | 3273 /* Create XIC for frame F. */ |
3274 | 3274 |
3275 static XIMStyle xic_style; | |
3276 | |
3275 void | 3277 void |
3276 create_frame_xic (f) | 3278 create_frame_xic (f) |
3277 struct frame *f; | 3279 struct frame *f; |
3278 { | 3280 { |
3279 XIM xim; | 3281 XIM xim; |
3280 XIC xic = NULL; | 3282 XIC xic = NULL; |
3281 XFontSet xfs = NULL; | 3283 XFontSet xfs = NULL; |
3282 static XIMStyle xic_style; | |
3283 | 3284 |
3284 if (FRAME_XIC (f)) | 3285 if (FRAME_XIC (f)) |
3285 return; | 3286 return; |
3286 | 3287 |
3287 xim = FRAME_X_XIM (f); | 3288 xim = FRAME_X_XIM (f); |