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

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

Re: Middle mouse button not working on mac OSX in latest CVS


From: YAMAMOTO Mitsuharu
Subject: Re: Middle mouse button not working on mac OSX in latest CVS
Date: Sun, 26 Jun 2005 19:22:14 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sun, 26 Jun 2005 01:31:35 -0400, Martin Otte <address@hidden> said:

> In the latest CVS versions of emacs, the middle mouse button on a 3-
> button mouse is not functioning in the Carbon port of Emacs. The
> problem seems to originate from the Jun 15 patch to macterm.c.

> The problem seems to be in the changes to the function
> mac_convert_event_ref that convert dead key down events. It looks to
> me like for some reason the middle mouse click is interpreted as a
> dead key down event, and so the new code is also used to process
> middle click events.

Silly me!  There were missing break statements.  I think the following
patch will fix the problem.

                                     YAMAMOTO Mitsuharu
                                address@hidden

*** src/macterm.c.~1.118.~      Wed Jun 15 11:30:25 2005
--- src/macterm.c       Sun Jun 26 15:05:29 2005
***************
*** 7640,7645 ****
--- 7640,7646 ----
        default:
          break;
        }
+       break;
  
      case kEventClassKeyboard:
        switch (GetEventKind (eventRef))
***************
*** 7662,7667 ****
--- 7663,7669 ----
        default:
          break;
        }
+       break;
  
      default:
        break;




reply via email to

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