From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Weirdness with Emacs' X window id Date: Mon, 07 Feb 2005 22:25:18 +0100 Message-ID: <4207DCBE.8050606@swipnet.se> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107812662 12149 80.91.229.6 (7 Feb 2005 21:44:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2005 21:44:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 07 22:44:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CyGg2-0007KV-00 for ; Mon, 07 Feb 2005 22:44:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyGuF-0001Qy-FB for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2005 16:58:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyGsu-0000OF-OL for emacs-devel@gnu.org; Mon, 07 Feb 2005 16:57:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyGst-0000Nl-Lk for emacs-devel@gnu.org; Mon, 07 Feb 2005 16:57:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyGpi-0007OD-Qc for emacs-devel@gnu.org; Mon, 07 Feb 2005 16:54:15 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CyGOn-0004JS-0R for emacs-devel@gnu.org; Mon, 07 Feb 2005 16:26:25 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050207212623.VMZU24781.mxfep02.bredband.com@coolsville.localdomain>; Mon, 7 Feb 2005 22:26:23 +0100 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: bob@rattlesnake.com In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:33057 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33057 Robert J. Chassell wrote: >Peter Heslin wrote, > > If I do emacs -q --no-site-file with a month-old CVS checkout, and > then M-x eshell: > > ~ $ xdpyinfo |grep -i focus > focus: window 0x1400015, revert to Parent > ~ $ wmctrl -l |grep -i emacs > 0x01400014 1 aideen Emacs *eshell* > > where wmctrl is a command-line program and the -l switch makes it list > all current windows. Note that xdpyinfo and wmctrl disagree as to > what should be the ID number for the single Emacs frame. > > ... Emacs is the only application I run that behaves like this. > >This also happens with > >Today's GNU Emacs CVS snapshot, Mon, 2005 Feb 7 14:18 UTC >GNU Emacs 21.3.50.51 (i686-pc-linux-gnu, GTK+ Version 2.4.14) >started with > > emacs -Q > >Very strange. I did not expect it. I do not know what is going on. > > xdpyinfo apparently prints the client leader window id, but wmctrl prints the top level id. It is normal to have the client leader window the same as the top level window, but Emacs does not really have one top level window that can be used for that purpose. Frames come and go, and the client leader window is expected to exist as long as the application exists. So the Emacs client leader window is a hidden window not seen. Jan D.