* dxwm iconification stuff
@ 1992-05-22 14:40 Eric W. Sink
1992-05-22 15:55 ` Mike Yang
0 siblings, 1 reply; 2+ messages in thread
From: Eric W. Sink @ 1992-05-22 14:40 UTC (permalink / raw)
We are using DECwindows on a 3100 and 5100. Our software works
just fine under mwm. We keep track of when we are being iconified
and provide the users the ability to iconify windows.
dxwm is giving us fits. We are able to keep track of when we are
iconified and deiconified by catching property changes on the
WM_STATE property. The problem is: we can't iconify windows (or
deiconify).
XIconifyWindow does nothing. Careful examination reveals that when mwm
iconifies something, it unmaps the window itself. dxwm however unmaps
the window's parent's parent, making the window itself mapped but
unviewable.
Anyone know how we can iconify and deiconify windows under dxwm
from our code ??
Thanks in advance,
--
Eric W. Sink, Spatial Analysis and Systems Team
USACERL, P.O. Box 9005, Champaign, IL 61826-9005
1-800-USA-CERL x449, e-sink@uiuc.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: dxwm iconification stuff
1992-05-22 14:40 dxwm iconification stuff Eric W. Sink
@ 1992-05-22 15:55 ` Mike Yang
0 siblings, 0 replies; 2+ messages in thread
From: Mike Yang @ 1992-05-22 15:55 UTC (permalink / raw)
In article <Bonq3u.D5p@news.cso.uiuc.edu> e-sink@uiuc.edu writes:
>Anyone know how we can iconify and deiconify windows under dxwm
>from our code ??
Dxwm is not ICCCM-compliant since it sort of pre-dates the ICCCM. I
believe that something like the following code, from an old version of
xrooms written at DEC, should work:
event.xclient.type = ClientMessage;
event.xclient.display = dpy;
event.xclient.window = client;
event.xclient.message_type = WM_CHANGE_STATE;
event.xclient.format = 32;
event.xclient.data.l[0] = IconicState;
XSendEvent(dpy, RootWindowOfScreen(scrn), False,
SubstructureRedirectMask | SubstructureNotifyMask,
&event);
-----------------------------------------------------------------------
Mike Yang Silicon Graphics, Inc.
mikey@sgi.com 415/390-1786
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1992-05-22 15:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-05-22 14:40 dxwm iconification stuff Eric W. Sink
1992-05-22 15:55 ` Mike Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox