Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mikey@sgi.com (Mike Yang)
Subject: Re: dxwm iconification stuff
Date: 22 May 92 15:55:28 GMT	[thread overview]
Message-ID: <1992May22.155528.15811@odin.corp.sgi.com> (raw)
In-Reply-To: Bonq3u.D5p@news.cso.uiuc.edu

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


      reply	other threads:[~1992-05-22 15:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-05-22 14:40 dxwm iconification stuff Eric W. Sink
1992-05-22 15:55 ` Mike Yang [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox