emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: mouse click into window doesn't always select frame


From: YAMAMOTO Mitsuharu
Subject: Re: mouse click into window doesn't always select frame
Date: Mon, 11 Dec 2006 17:01:22 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.0.91 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sun, 10 Dec 2006 20:06:23 -0500, Richard Stallman <address@hidden> 
>>>>> said:

> Please clearly state exactly what input events are needed to make
> the problem happen.

It seems like a problem that is specific to the Mac Carbon port.
Please try the following patch.  If there's no problem with this for a
few days, I'll install it.

                                     YAMAMOTO Mitsuharu
                                address@hidden

Index: src/macterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macterm.c,v
retrieving revision 1.198
diff -c -p -r1.198 macterm.c
*** src/macterm.c       10 Dec 2006 23:16:11 -0000      1.198
--- src/macterm.c       11 Dec 2006 07:54:05 -0000
*************** XTread_socket (sd, expected, hold_quit)
*** 10398,10410 ****
                break;
  
              case inContent:
!               if (
! #if TARGET_API_MAC_CARBON
!                   FrontNonFloatingWindow ()
! #else
!                   FrontWindow ()
! #endif
!                   != window_ptr)
                  SelectWindow (window_ptr);
                else
                  {
--- 10398,10404 ----
                break;
  
              case inContent:
!               if (mac_window_to_frame (window_ptr) != dpyinfo->x_focus_frame)
                  SelectWindow (window_ptr);
                else
                  {




reply via email to

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