From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Dufair Newsgroups: gmane.emacs.help Subject: Re: window manager hints Date: Fri, 12 Sep 2003 17:29:36 -0500 Organization: The Dufair Family Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87isnxk6x5.fsf@enberg.org> Reply-To: jase@dufair.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063406900 23858 80.91.224.253 (12 Sep 2003 22:48:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2003 22:48:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 00:48:19 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 19xwiA-0006bL-00 for ; Sat, 13 Sep 2003 00:48:19 +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 19xwfm-0004im-HO for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2003 18:45:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news2.telebyte.nl!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!news2.euro.net!cleanfeed.casema.net!newsfeed.uk.prserv.net!prserv.net!news.freedom2surf.net!news-out.newsfeeds.com!propagator2-maxim!news-in.superfeed.net!mozo.cc.purdue.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: dyn-66-109.admin.purdue.edu Original-X-Trace: mozo.cc.purdue.edu 1063405774 1080 128.210.66.109 (12 Sep 2003 22:29:34 GMT) Original-X-Complaints-To: news@news.purdue.edu Original-NNTP-Posting-Date: Fri, 12 Sep 2003 22:29:34 +0000 (UTC) X-Face: %qYO(9,]2*s~3N%\J,B=XT(z}[XaISI2%wB~6pjlDD?eDZgn\^S9jx[j1db/7E{umgx.GyN'wf/*4}lk3h9(h:[)d(?<[7~#x+zbn495h?E[>\HVwW|jGgLW9x^k\Kn,uc4{?-T'/=EW!/nE'e_Jf5pP3|DVn$ydYOr]n6Dk7!Ojgt{%(P.$j}u; EyrN{YVPxVc+EWeo?,I*PnW$; U%{@Lqh-OU`o2 User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (cygwin) Cancel-Lock: sha1:Q+sNCZIGmzl1WKQ01761ZIpx1EY= Original-Xref: shelby.stanford.edu gnu.emacs.help:116573 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:12495 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12495 Ok. Will do. Thanks. Henrik Enberg writes: > 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. -- Jason Dufair - jase@dufair.org http://www.dufair.org/ "Give a man fire and he will be warm for a day. Set a man on fire and he will be warm for the rest of his life." -- Terry Pratchett