From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5e8641d445b81ff X-Google-Attributes: gid1164f8,public X-Google-Thread: 103734,5e8641d445b81ff X-Google-Attributes: gid103734,public X-Google-ArrivalTime: 1992-05-22 03:30:36 PST Xref: sparky comp.sys.dec:3110 comp.windows.x:11669 Path: sparky!uunet!olivea!sgigate!odin!mikey From: mikey@sgi.com (Mike Yang) Newsgroups: comp.sys.dec,comp.windows.x Subject: Re: dxwm iconification stuff Message-ID: <1992May22.155528.15811@odin.corp.sgi.com> Date: 22 May 92 15:55:28 GMT References: Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Inc. Nntp-Posting-Host: eukanuba.wpd.sgi.com In article 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