diff src/frame-x.c @ 175:2d532a89d707 r20-3b14

Import from CVS: tag r20-3b14
author cvs
date Mon, 13 Aug 2007 09:50:14 +0200
parents 15872534500d
children 6075d714658b
line wrap: on
line diff
--- a/src/frame-x.c	Mon Aug 13 09:49:11 2007 +0200
+++ b/src/frame-x.c	Mon Aug 13 09:50:14 2007 +0200
@@ -2306,6 +2306,7 @@
 static int
 x_frame_visible_p (struct frame *f)
 {
+#if 0
   Display *display = DEVICE_X_DISPLAY (XDEVICE (f->device));
   XWindowAttributes xwa;
   int result;
@@ -2329,7 +2330,6 @@
      use async visibility like in standard Emacs.
      */
 
-#if 0
   if (!XGetWindowAttributes (display,
 			     XtWindow (FRAME_X_SHELL_WIDGET (f)),
 			     &xwa))
@@ -2341,7 +2341,7 @@
 
   f->visible = result;
   return result;
-#endif
+#endif /* 0 */
 
   return f->visible;
 }