[comp.windows.x] No VisibilityEvent upon iconification?

sherouse@godot.radonc.unc.edu (George W. Sherouse) (07/12/88)

Environment: minimally patched V11R2, client on VAX 750 w/ BSD 4.3,
server on uVAX-II/GPX w/ Ultrix 2.0, uwm || twm

Windows which have selected VisibilityChangeMask do not receive events
when obscured by iconification of self or parent.  Visibility events
*are* received upon deiconification.  The documented behavior (Xlib
ref. 8.4.6.10) is seen for windows obscured by overlap.

Am I missing something?

- George

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (07/12/88)

    Date: 12 Jul 88 13:50:29 GMT
    From: godot!sherouse@mcnc.org  (George W. Sherouse)

    Windows which have selected VisibilityChangeMask do not receive events
    when obscured by iconification of self or parent.

Right.  This may rightfully be viewed as a protocol misfeature, but
there you have it.  You don't get a visibility event when you (or an
ancestor) become unmapped.  You do get an UnmapNotify even when you
become unmapped, and it was (probably incorrectly) thought that this
was sufficient.  Existing reparenting window managers generally do
not unmap the client window on iconification; there is discussion
among window manager folk to change this, so that clients can
reliably receive UnmapNotify events.