From xemacs-m  Tue Jun  3 06:13:09 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id GAA18355
	for <xemacs-beta@xemacs.org>; Tue, 3 Jun 1997 06:13:09 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id EAA24064; Tue, 3 Jun 1997 04:30:52 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id EAA08118; Tue, 3 Jun 1997 04:11:55 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id EAA16823; Tue, 3 Jun 1997 04:11:56 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id EAA05524; Tue, 3 Jun 1997 04:11:52 -0700
Date: Tue, 3 Jun 1997 04:11:52 -0700
Message-Id: <199706031111.EAA05524@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Jan Vroonhof <vroonhof@math.ethz.ch>
Cc: xemacs-beta@xemacs.org
Subject: Re: Frames not getting deleted
In-Reply-To: <byafl9ryyl.fsf@midget.math.ethz.ch>
References: <864252174.7367@dejanews.com>
	<bybu63yjlw.fsf@midget.math.ethz.ch>
	<864309331.10714@dejanews.com>
	<kigpvujf22p.fsf@jagor.srce.hr>
	<byzpthxah0.fsf@midget.math.ethz.ch>
	<199705291133.EAA18474@xemacs.eng.sun.com>
	<byafl9ryyl.fsf@midget.math.ethz.ch>
X-Mailer: VM 6.31 under 20.3 XEmacs Lucid (beta3)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "Jan" == Jan Vroonhof <vroonhof@math.ethz.ch> writes:

Jan> Martin Buchholz <mrb@Eng.Sun.COM> writes:
>> and the following appears on stderr when you switch virtual screens in CDE:
>> 
>> 
>> UnmapNotify

Jan> Does the switch occur here?

>> MapNotify                     
>> VisibilityNotify              
>> VisibilityNotify        

You can get more data using
(setq x-debug-events 3)

The event trace from switching away from and back to a CDE "workspace"
with a fully visible frame follows:

UnmapNotify                   
MapNotify                     
VisibilityNotify                 window: 0x7400031 TopLevelEmacsShell "emacs"
    state: Unobscured
VisibilityNotify                 window: 0x7400034 EmacsFrame "emacs"
    state: PartiallyObscured
Expose                           window: 0x7400034 EmacsFrame "emacs"
   region: x=0 y=0 width=584 height=41
    count: 3
Expose                           window: 0x7400034 EmacsFrame "emacs"
   region: x=0 y=41 width=565 height=505
    count: 2
Expose                           window: 0x7400034 EmacsFrame "emacs"
   region: x=580 y=41 width=4 height=505
    count: 1
Expose                           window: 0x7400034 EmacsFrame "emacs"
   region: x=0 y=546 width=584 height=34
    count: 0

Why multiple expose events are triggered is unclear.  This frame was
on top all the time.

Jan> (What are the arguments to VisibilityNotify? I am a bit confused by
Jan> the event traces. CDE seems to send a  MapNotify  when switching back
Jan> and then a Visibility->FullyObscured ????)

Jan> If CDE uses unmapping the there is no hope, why did they choose to do
Jan> it differently than everything else.

Jan> P.S. Have any idea about the compiling with SparcWorks/Tooltalk
Jan> destroys child processes problem? Could it be our version of SW?

Nope.  Sorry.

Martin

