From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Mathias Dahl <mathias.dahl@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Does Emacs wm-window handling misbehave?
Date: Thu, 27 Mar 2008 08:02:32 +0100 [thread overview]
Message-ID: <47EB4688.6020702@swipnet.se> (raw)
In-Reply-To: <7dbe73ed0803240637r28959abdj813a6ba15ad72b4f@mail.gmail.com>
Mathias Dahl skrev:
> Lately I am having problems switching windows (window manager windows)
> using Alt+Tab. Like exactly right now when I type this in Emacs I try
> to switch window and it does not work. I can see the frame of other
> windows being marked/outlined and in the task bar the name of the
> window I am trying to switch to becomes bold. I have to use the mouse
> to switch instead, very annoying.
>
> Until today I have thought this being a glitch in Metacity but by
> chance I stumbled upon the following messages in my .xsession-errors
> file today:
>
> Window manager warning: last_focus_time (5775062) is greater than
> comparison timestamp (3763886959). This most likely represents a
> buggy client sending inaccurate timestamps in messages such as
> _NET_ACTIVE_WINDOW. Trying to work around...
>
> Window manager warning: last_user_time (5775062) is greater than
> comparison timestamp (3763886959). This most likely represents a
> buggy client sending inaccurate timestamps in messages such as
> _NET_ACTIVE_WINDOW. Trying to work around...
>
> Window manager warning: 0x3c000a4 (.emacs) appears to be one of the
> offending windows with a timestamp of 5775062. Working around...
>
> It suddenly occurred to me that I only experience the switching
> problem in Emacs and here is a reference to one of my Emacs
> windows. Could it be a coincidence or is Emacs doing anything bad? I
> don't want to report this as a bug just yet. Does anyone else have similar
> experiences? I cannot say when it happens, it suddenly does. When I have
> switched using the mouse it works again, for a while...
>
Do you have click-to-focus? This is strange, because Emacs only sends
_NET_ACTIVE_WINDOW when x-focus-frame is called.
We did have an issue with timestamps, but that should have been fixed some
time ago. Can you explicitly call x-focus-frame and at the same time do a
tail -f on .xsession-errors and see if the above message comes up?
Jan D.
next prev parent reply other threads:[~2008-03-27 7:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-24 13:37 Does Emacs wm-window handling misbehave? Mathias Dahl
2008-03-27 6:58 ` Mathias Dahl
2008-03-27 7:04 ` Jan Djärv
2008-03-27 7:02 ` Jan Djärv [this message]
2008-03-27 9:53 ` Mathias Dahl
2008-03-27 18:04 ` Jan Djärv
2008-03-29 1:03 ` Mathias Dahl
2008-03-30 17:53 ` Jan Djärv
2008-03-30 22:19 ` Mathias Dahl
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47EB4688.6020702@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@gnu.org \
--cc=mathias.dahl@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.