From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.help Subject: Re: window manager hints Date: Fri, 12 Sep 2003 23:56:06 +0200 Organization: Le Petomane Appreciation Society Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87isnxk6x5.fsf@enberg.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063404218 18100 80.91.224.253 (12 Sep 2003 22:03:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2003 22:03:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 00:03:36 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xw0u-0004TR-00 for ; Sat, 13 Sep 2003 00:03:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19xvyH-00049T-Ur for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2003 18:00:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!h40n2fls32o1112.telia.COM!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: h40n2fls32o1112.telia.com (213.65.65.40) Original-X-Trace: news.uni-berlin.de 1063403813 24129677 213.65.65.40 (16 [125297]) X-Face: '?(}L@K/Sls-ye`; eqx]TJ0IbKhC#K4WeW3yZ5bp|xrU`bKelL+*H0'd*05OmV(iCbG>WuT Iu~v:a2f_8F]^^MSZ$PAF'O?OHX.O.pW5zEuV6)e[YmsU1ehc@(oLF!pD5JBOm]JU# List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12491 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12491 Jason Dufair writes: > I'm working with the folks implementing/porting XFree86 to Windows via > Cygwin. They've implemented a means of using Windows as the "window > manager," but Emacs doesn't minimize properly with a C-z. Apparently > the maintainer is not catching a window manager hint or something. Can > someone point me in the right direction as to how he/we might catch that > C-z and have minimize the Emacs window. Check the function `x_iconify_frame' in xterm.c in the Emacs sources to see what it does. Basically, what it boils down to is Emacs running `XIconifyWindow' which sends a `ClientMessage' with `IconicState' to X. See if the windowmanager listens to the `WM_CHANGE_STATE' hint properly.