Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!eng.sun.COM!smarks From: smarks@eng.sun.COM (Stuart Marks, There go I but for the grace of Root) Newsgroups: comp.windows.x Subject: Re: Self-Iconification and Emacs Message-ID: <9009270212.AA15705@trantor.Eng.Sun.COM> Date: 27 Sep 90 02:12:00 GMT References: Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 21 | Is there a way for a client program to iconify itself? Suppose I have | an emacs window running and want to iconify it without using the | window manager (i.e. by writing an emacs-lisp function | "iconify-emacs" and binding it to, say, C-z); how can I do this? By "without using the window manager" I take it you mean that you don't want to move the mouse over to the frame's close button (or whatever) to iconify the window. If so, the answer is yes--just call XIconifyWindow(). This call is new for X11R4, so it didn't make it into the books and documentation until recently. | running X11R4 on HP-UX and SUN-OS. ^^^^^ Ah, good, then you should have no trouble. s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.