From xemacs-m  Tue Feb 25 13:37:28 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 NAA07371
	for <xemacs-beta@xemacs.org>; Tue, 25 Feb 1997 13:37:27 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id LAA18449;
	Tue, 25 Feb 1997 11:49:11 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Build report for 19.15-b95 (and a problem)
References: <16749.856798708@kocrsw12>
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: Mike Scheidler's message of Mon, 24 Feb 1997 10:38:28 -0500
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 25 Feb 1997 11:49:10 -0800
Message-ID: <m23eukfyyx.fsf@altair.xemacs.org>
Lines: 39
X-Mailer: Gnus v5.4.15/XEmacs 20.1

Mike Scheidler writes:
> Here's a new problem I found:

> If I have two frames, with one totally obscured by the other

Apply this patch for now.  I'm working with some changes from Jan for
a nicer solution.

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.

