From xemacs-m  Mon Feb 24 00:53:14 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id AAA12293
	for <xemacs-beta@xemacs.org>; Mon, 24 Feb 1997 00:53:13 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id XAA05149;
	Sun, 23 Feb 1997 23:05:01 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: 19.15b95 geometry spec make frame undeletable
References: <QQcefw18347.199702240611@crystal.WonderWorks.COM>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Kyle Jones's message of Mon, 24 Feb 1997 01:11:18 -0500 (EST)
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 23 Feb 1997 23:04:59 -0800
Message-ID: <m2hgj2fzvo.fsf@altair.xemacs.org>
Lines: 37
X-Mailer: Gnus v5.4.15/XEmacs 20.1

Kyle Jones writes:

> This is weird.

Does this patch fix the problem?  And does 20.1-b2 behave differently?

Index: event-Xt.c
===================================================================
RCS file: /usr/local/xemacs/xemacs-19.15/src/event-Xt.c,v
retrieving revision 1.7
diff -u -r1.7 event-Xt.c
--- event-Xt.c	1997/02/22 22:08:36	1.7
+++ event-Xt.c	1997/02/23 02:14:17
@@ -1221,7 +1221,7 @@
       break;
       
     case VisibilityNotify: /* window visiblity has changed */
-      if (event->xvisibility.window == XtWindow (FRAME_X_SHELL_WIDGET (f)))
+#if 0 /* This causes all kinds of strange behavior I don't like. -sb */
 	{
 	  /* Note that the fvwm pager only sends VisibilityNotify when
 	     changing pages. Is this all we need to do ? JV */
@@ -1230,6 +1230,10 @@
 	  FRAME_X_TOTALLY_VISIBLE_P (f) =
 	    (event->xvisibility.state == VisibilityUnobscured);
 	}
+#else
+        FRAME_X_TOTALLY_VISIBLE_P (f) =
+	  (event->xvisibility.state == VisibilityUnobscured);
+#endif
       break;
       
     case ConfigureNotify:

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

