unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David <dajo@Rednose.Rhubarb>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: input-pending-p
Date: Sun, 9 Jun 2002 10:16:33 -0600	[thread overview]
Message-ID: <200206091616.g59GGXJ12845@Rednose.Rhubarb> (raw)
In-Reply-To: <5xofepbd33.fsf@kfs2.cua.dk> (storm@cua.dk)

Hello Kim,

Thank you for your suggestion.  Unfortunately it does not solve the
problem.  RMS has sent me a patch for keyboard.c alternative to mine
which appears to work.  I assume that you can access this patch via
some fsf-internal mechanism.

dajo


> Hi David,
> 
> >From your analysis, it does indeed seem like excessive FocusIn events
> are confusing emacs.  However, your patch is a bit radical (as it
> effectively ignores those events).
> 
> Please try the following patch to see if it solves the problem.  This
> is from the latest CVS version, but should apply directly to 21.2.
> Remember to undo your own patch before testing.
> 
> Index: xterm.c
> ===================================================================
> RCS file: /cvs/emacs/src/xterm.c,v
> retrieving revision 1.735
> diff -c -r1.735 xterm.c
> *** xterm.c	28 May 2002 20:27:59 -0000	1.735
> --- xterm.c	5 Jun 2002 20:53:20 -0000
> ***************
> *** 10784,10790 ****
>   	      f = x_any_window_to_frame (dpyinfo, event.xfocus.window);
>   	      if (event.xfocus.detail != NotifyPointer)
>   		dpyinfo->x_focus_event_frame = f;
> ! 	      if (f)
>   		{
>   		  x_new_focus_frame (dpyinfo, f);
>   
> --- 10784,10790 ----
>   	      f = x_any_window_to_frame (dpyinfo, event.xfocus.window);
>   	      if (event.xfocus.detail != NotifyPointer)
>   		dpyinfo->x_focus_event_frame = f;
> ! 	      if (f && f != dpyinfo->x_focus_frame)
>   		{
>   		  x_new_focus_frame (dpyinfo, f);
>   
> ++kfs

      reply	other threads:[~2002-06-09 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200203070326.g273Q6A02247@Rednose.Rhubarb>
2002-03-10 21:32 ` input-pending-p Richard Stallman
2002-03-24 23:50   ` input-pending-p David
2002-03-25  6:24     ` input-pending-p Eli Zaretskii
2002-03-25 12:01     ` input-pending-p Richard Stallman
2002-05-27 23:02   ` input-pending-p David
2002-06-05 22:00     ` input-pending-p Kim F. Storm
2002-06-09 16:16       ` David [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=200206091616.g59GGXJ12845@Rednose.Rhubarb \
    --to=dajo@rednose.rhubarb \
    --cc=dajo@a-vip.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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).