emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: input-pending-p


From: David
Subject: Re: input-pending-p
Date: Sun, 9 Jun 2002 10:16:33 -0600

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 via email to

[Prev in Thread] Current Thread [Next in Thread]