comparison src/console-x.h @ 373:6240c7796c7a r21-2b2

Import from CVS: tag r21-2b2
author cvs
date Mon, 13 Aug 2007 11:04:06 +0200
parents 7df0dd720c89
children 8626e4521993
comparison
equal deleted inserted replaced
372:49e1ed2d7ed8 373:6240c7796c7a
67 67
68 struct x_device 68 struct x_device
69 { 69 {
70 /* The X connection of this device. */ 70 /* The X connection of this device. */
71 Display *display; 71 Display *display;
72
73 /* Set by x_IO_error_handler(). */
74 int being_deleted;
72 75
73 /* Xt application info. */ 76 /* Xt application info. */
74 Widget Xt_app_shell; 77 Widget Xt_app_shell;
75 78
76 /* Cache of GC's for frame's on this device. */ 79 /* Cache of GC's for frame's on this device. */
182 185
183 #define DEVICE_X_DATA(d) DEVICE_TYPE_DATA (d, x) 186 #define DEVICE_X_DATA(d) DEVICE_TYPE_DATA (d, x)
184 187
185 #define FRAME_X_DISPLAY(f) (DEVICE_X_DISPLAY (XDEVICE (f->device))) 188 #define FRAME_X_DISPLAY(f) (DEVICE_X_DISPLAY (XDEVICE (f->device)))
186 #define DEVICE_X_DISPLAY(d) (DEVICE_X_DATA (d)->display) 189 #define DEVICE_X_DISPLAY(d) (DEVICE_X_DATA (d)->display)
190 #define DEVICE_X_BEING_DELETED(d) (DEVICE_X_DATA (d)->being_deleted)
187 #define DEVICE_X_VISUAL(d) (DEVICE_X_DATA (d)->visual) 191 #define DEVICE_X_VISUAL(d) (DEVICE_X_DATA (d)->visual)
188 #define DEVICE_X_DEPTH(d) (DEVICE_X_DATA (d)->depth) 192 #define DEVICE_X_DEPTH(d) (DEVICE_X_DATA (d)->depth)
189 #define DEVICE_X_COLORMAP(d) (DEVICE_X_DATA (d)->device_cmap) 193 #define DEVICE_X_COLORMAP(d) (DEVICE_X_DATA (d)->device_cmap)
190 #define DEVICE_XT_APP_SHELL(d) (DEVICE_X_DATA (d)->Xt_app_shell) 194 #define DEVICE_XT_APP_SHELL(d) (DEVICE_X_DATA (d)->Xt_app_shell)
191 #define DEVICE_X_GC_CACHE(d) (DEVICE_X_DATA (d)->gc_cache) 195 #define DEVICE_X_GC_CACHE(d) (DEVICE_X_DATA (d)->gc_cache)