From: S.Marshall@sequent.cc.HUll.ac.UK (Simon Marshall)
Subject: MORE: Iconifying minibuffer no longer iconifies other screens under
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 13 Apr 1992 09:25:25 GMT

         X11R5?!
X-Zippy: Now that I have my ``APPLE,'' I comprehend COST ACCOUNTING!!

| If you are running with nonlocal minibuffers, Epoch sets the WM_HINTS so that
| the minibuffer screen is the leader of the "group" of epoch screens.  To
| confirm that this is set correctly, use 'xprop' and 'xwininfo' on the
| minibuffer.  The value of the WM_HINTS property should indicate the window id
| of the group leader; this should match the window id of the minibuffer
| window.

	Thanks for pointing this out.  I tried this, and it appears that
    epoch is indeed setting the id of the group leader correctly.  As I said
    in the original post, epoch-3.2 and 4.0 both worked OK when I was using
    X11r4, but both stopped iconifying all screens on iconifying the
    minibuffer when using X11r5; using olwm (OW 3.0) gave the same result as
    twm.  I have applied the twm raisedelay patch (r5 version) to twm,
    though I don't see this being significant (unless it alters olwm source
    too!).

	I presume, then, that this is due to r5 and not epoch?  I was
    curious as to whether anyone else has had this problem before I went any
    further.  I am using X11r5 patchlevel 10.  I'd be greatful if anyone
    using this patchlevel of X & twm could let me know if their epoch works
    OK...  I'll include the result of xprop & xwininfo below, in case I'm
    wrong.

	Thanks, Simon

% xprop		# Minibuffer
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0xc00088
WM_ICON_NAME(STRING) = "Minibuffer @ hullseq"
WM_COMMAND(STRING) = { "epoch -display ncd-14:0.0 -fn 9x15bold" }
EPOCH_CURRENT(STRING) = "minibuf"
EPOCH_SCREEN_ID(INTEGER) = 0
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		Window id # of group leader: 0x2c0000a
WM_CLASS(STRING) = "epoch", "Emacs"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		user specified location: 210, 5
		user specified size: 697 by 19
		program specified minimum size: 40 by 19
		program specified resize increment: 9 by 15
		program specified base size: 4 by 4
WM_NAME(STRING) = "Minibuffer @ hullseq"

% xprop		# *scratch* buffer
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_ICON_NAME(STRING) = "*scratch* @ hullseq"
EPOCH_CURRENT(STRING) = "yes"
EPOCH_SCREEN_ID(INTEGER) = 1
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		Window id # of group leader: 0x2c0000a
WM_CLASS(STRING) = "epoch", "Emacs"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		user specified location: 181, 55
		user specified size: 724 by 454
		program specified minimum size: 40 by 34
		program specified resize increment: 9 by 15
		program specified base size: 4 by 4
WM_NAME(STRING) = "*scratch* @ hullseq"

% xwininfo	# Minibuffer
xwininfo: Window id: 0x2c0000a "Minibuffer @ hullseq"

  Absolute upper-left X:  212
  Absolute upper-left Y:  26
  Relative upper-left X:  0
  Relative upper-left Y:  19
  Width: 697
  Height: 19
  Depth: 1
  Visual Class: StaticGray
  Border width: 0
  Class: InputOutput
  Colormap: 0x21 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +212+26  -115+26  -115-755  +212-755
  -geometry 77x1+210+5

% xwininfo	# *scratch* buffer
xwininfo: Window id: 0x2c00002 "*scratch* @ hullseq"

  Absolute upper-left X:  183
  Absolute upper-left Y:  76
  Relative upper-left X:  0
  Relative upper-left Y:  19
  Width: 724
  Height: 454
  Depth: 1
  Visual Class: StaticGray
  Border width: 0
  Class: InputOutput
  Colormap: 0x21 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +183+76  -117+76  -117-270  +183-270
  -geometry 80x30+181+55