From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: Weirdness with Emacs' X window id
Date: Mon, 07 Feb 2005 22:25:18 +0100 [thread overview]
Message-ID: <4207DCBE.8050606@swipnet.se> (raw)
In-Reply-To: <m1CyG2M-0004QyC@rattlesnake.com>
Robert J. Chassell wrote:
>Peter Heslin <public@heslin.eclipse.co.uk> 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.
prev parent reply other threads:[~2005-02-07 21:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-07 19:37 Weirdness with Emacs' X window id Peter Heslin
2005-02-07 20:14 ` Lennart Borgman
2005-02-07 20:27 ` Jan D.
2005-02-07 21:03 ` Robert J. Chassell
2005-02-07 21:25 ` Jan D. [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4207DCBE.8050606@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).