diff options
| author | Chong Yidong | 2008-12-13 05:41:55 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-12-13 05:41:55 +0000 |
| commit | 9b011d3b30926b050f4b4464ac0556972b303e2b (patch) | |
| tree | 5f29eec7363f78ecb557a151a920943fba179f32 /src | |
| parent | bb9038ffc0df57d00992997d72bc79a0d880d27e (diff) | |
| download | emacs-9b011d3b30926b050f4b4464ac0556972b303e2b.tar.gz emacs-9b011d3b30926b050f4b4464ac0556972b303e2b.zip | |
(struct xim_inst_t): Definition moved from xterm.c.
(struct x_display_info): Remove unused member null_pixel. New
member xim_callback_data.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/xterm.h b/src/xterm.h index 3f437b86e97..f917eb6bc61 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -88,6 +88,15 @@ typedef GtkWidget *xt_or_gtk_widget; | |||
| 88 | | EnterWindowMask \ | 88 | | EnterWindowMask \ |
| 89 | | VisibilityChangeMask) | 89 | | VisibilityChangeMask) |
| 90 | 90 | ||
| 91 | #ifdef HAVE_X11R6_XIM | ||
| 92 | /* Data structure passed to xim_instantiate_callback. */ | ||
| 93 | struct xim_inst_t | ||
| 94 | { | ||
| 95 | struct x_display_info *dpyinfo; | ||
| 96 | char *resource_name; | ||
| 97 | }; | ||
| 98 | #endif /* HAVE_X11R6_XIM */ | ||
| 99 | |||
| 91 | /* Structure recording X pixmap and reference count. | 100 | /* Structure recording X pixmap and reference count. |
| 92 | If REFCOUNT is 0 then this record is free to be reused. */ | 101 | If REFCOUNT is 0 then this record is free to be reused. */ |
| 93 | 102 | ||
| @@ -305,10 +314,6 @@ struct x_display_info | |||
| 305 | minibuffer. */ | 314 | minibuffer. */ |
| 306 | struct frame *x_highlight_frame; | 315 | struct frame *x_highlight_frame; |
| 307 | 316 | ||
| 308 | /* The null pixel used for filling a character background with | ||
| 309 | background color of a gc. */ | ||
| 310 | Pixmap null_pixel; | ||
| 311 | |||
| 312 | /* The gray pixmap. */ | 317 | /* The gray pixmap. */ |
| 313 | Pixmap gray; | 318 | Pixmap gray; |
| 314 | 319 | ||
| @@ -316,6 +321,7 @@ struct x_display_info | |||
| 316 | /* XIM (X Input method). */ | 321 | /* XIM (X Input method). */ |
| 317 | XIM xim; | 322 | XIM xim; |
| 318 | XIMStyles *xim_styles; | 323 | XIMStyles *xim_styles; |
| 324 | struct xim_inst_t *xim_callback_data; | ||
| 319 | #endif | 325 | #endif |
| 320 | 326 | ||
| 321 | /* If non-null, a cache of the colors in the color map. Don't | 327 | /* If non-null, a cache of the colors in the color map. Don't |