diff 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
line wrap: on
line diff
--- a/src/console-x.h	Mon Aug 13 11:03:09 2007 +0200
+++ b/src/console-x.h	Mon Aug 13 11:04:06 2007 +0200
@@ -70,6 +70,9 @@
   /* The X connection of this device. */
   Display *display;
 
+  /* Set by x_IO_error_handler(). */
+  int being_deleted;
+
   /* Xt application info. */
   Widget Xt_app_shell;
 
@@ -184,6 +187,7 @@
 
 #define FRAME_X_DISPLAY(f) (DEVICE_X_DISPLAY (XDEVICE (f->device)))
 #define DEVICE_X_DISPLAY(d) 	(DEVICE_X_DATA (d)->display)
+#define DEVICE_X_BEING_DELETED(d) (DEVICE_X_DATA (d)->being_deleted)
 #define DEVICE_X_VISUAL(d)	(DEVICE_X_DATA (d)->visual)
 #define DEVICE_X_DEPTH(d)	(DEVICE_X_DATA (d)->depth)
 #define DEVICE_X_COLORMAP(d) 	(DEVICE_X_DATA (d)->device_cmap)