From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Heslin Newsgroups: gmane.emacs.devel Subject: Weirdness with Emacs' X window id Date: Mon, 7 Feb 2005 19:37:44 +0000 (UTC) Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107806416 23573 80.91.229.2 (7 Feb 2005 20:00:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2005 20:00:16 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 07 21:00:16 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CyF3L-000639-Cs for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2005 21:00:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyFHW-0001Xj-QX for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2005 15:14:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyF3t-00081g-6F for emacs-devel@gnu.org; Mon, 07 Feb 2005 15:00:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyF3g-0007vt-5Q for emacs-devel@gnu.org; Mon, 07 Feb 2005 15:00:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyF3c-0007rx-Pz for emacs-devel@gnu.org; Mon, 07 Feb 2005 15:00:28 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CyEjM-0002MO-4Z for emacs-devel@gnu.org; Mon, 07 Feb 2005 14:39:32 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1CyEhy-0002Wx-On for emacs-devel@gnu.org; Mon, 07 Feb 2005 20:38:06 +0100 Original-Received: from 213-152-32-235.dsl.eclipse.net.uk ([213.152.32.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Feb 2005 20:38:06 +0100 Original-Received: from public by 213-152-32-235.dsl.eclipse.net.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Feb 2005 20:38:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 29 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213-152-32-235.dsl.eclipse.net.uk User-Agent: slrn/0.9.8.0 (Linux) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33034 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33034 In Debian GNU/Linux: 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. One says a number ending in 14, the other in 15. wmctrl -l does not know of any window with the ID 0x1400015. Is this expected? I don't know anything about these IDs -- I'm just trying to write a script to manipulate windows on my desktop, and it's quite difficult with this ID schizophrenia. Emacs is the only application I run that behaves like this. If it's not expected behavior, then it could be a bug in wmctrl, xdpyinfo, my X server, Emacs, or who knows where, so it would be interesting to see if anyone else sees this. Peter