unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: Patch for Emacs X focus issue
Date: Sun, 23 Jun 2002 22:08:57 +0200 (MEST)	[thread overview]
Message-ID: <200206232004.g5NK4nuM020413@stubby.bodenonline.com> (raw)
In-Reply-To: <200206231947.g5NJlOk31164@rum.cs.yale.edu> from "Stefan Monnier" at jun 23, 2002 03:47:24

> 
> > The patch is attached below.  Please comment, and if it is OK, I will
> > commit it into CVS.
> 
> I have no idea about the actual focus handling issue in X, but I'm
> surprised by the first hunk in your patch (see below), which seems
> unrelated.  What is the reason for it ?
> 

The code in question ignored FOCUS_IN_EVENT when looking for pending
input.  So when a new frame got focus, the modeline face was not
changed immediately to the "active" looking face.  It took another
event or a timeout for this to happen.  You have to have two or
more frames to see this change in the modeline.

I suspect there where too many FOCUS_IN_EVENT:s generated previously and
that this caused problems.  The patch simply restores the code to what
it is in the RC branch.

	Jan D.

  reply	other threads:[~2002-06-23 20:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-23 19:16 Patch for Emacs X focus issue Jan D.
2002-06-23 19:47 ` Stefan Monnier
2002-06-23 20:08   ` Jan D. [this message]
2002-06-24 19:39     ` Richard Stallman
2002-06-24 21:14       ` Jan D.
2002-06-25 19:10         ` David
2002-06-25 23:32         ` Richard Stallman
2002-06-26 13:03           ` Jan D.
2002-06-28 17:39             ` Richard Stallman
2002-06-28 19:57               ` Jan D.

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=200206232004.g5NK4nuM020413@stubby.bodenonline.com \
    --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).