Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!srcsip!msi-s0.msi.umn.edu!cs.umn.edu!dmshq!com50!pai!erc From: erc@pai.UUCP (Eric Johnson) Newsgroups: comp.windows.x Subject: Re: Self-Iconification and Emacs Summary: XIconfiyWindow() X11R4 Keywords: iconify, emacs Message-ID: <1451@pai.UUCP> Date: 27 Sep 90 14:05:52 GMT References: Distribution: comp Organization: Boulware Technologies, Inc., Burnsville, MN Lines: 44 In article , jae@cs.iastate.edu (Andy Edwards) writes: > > Is there a way for a client program to iconify itself? Suppose I have > an emacs window running and want to iconify it ... > In Release 4 of the X Window System, there is a new Xlib function: XIconifyWindow(): XIconifyWindow( display, window, screen ); Display *display; Window window; int screen; Note that a window manager does not have to accept this. Some window managers may not even allow for icons. As, usual, this call makes a request, a request that can be denied. XIconifyWindow() is not available under Release 3 (or below), but you can try to simulate the behavior using ClientMessages and writes to properties. > running X11R4 on HP-UX and SUN-OS. R4 on HP-UX? Did you get this from HP? (I don't think that HP is shipping R4 yet.) > -------------------------------------------------------------- > Andy Edwards > jae@atanasoff.cs.iastate.edu > Iowa State University Hope this helps, -Eric -- Eric F. Johnson phone: +1 612 894 0313 BTI: Industrial Boulware Technologies, Inc. fax: +1 612 894 0316 automation systems 415 W. Travelers Trail email: erc@pai.mn.org and services Burnsville, MN 55337 USA