[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: click on toolbar button -> crash
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: click on toolbar button -> crash |
Date: |
Wed, 03 Mar 2004 17:41:27 +0900 |
User-agent: |
Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Mon, 1 Mar 2004 09:45:24 +0000, David Reitter <address@hidden> said:
> (On OS X 10.3, CVS checkout)
> Turned on new toolbar buttons in Options/Show-Hide/Tool-bar, clicked on
> some icon (which one doesn't seem to matter). Emacs exits right away.
I think the following patch will solve the problem.
YAMAMOTO Mitsuharu
address@hidden
Index: src/macterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/macterm.c,v
retrieving revision 1.63
diff -c -r1.63 macterm.c
*** src/macterm.c 27 Feb 2004 23:47:13 -0000 1.63
--- src/macterm.c 3 Mar 2004 03:43:15 -0000
***************
*** 8262,8268 ****
{
Lisp_Object window;
- inev.kind = MOUSE_CLICK_EVENT;
XSETFRAME (inev.frame_or_window, mwp->mFP);
if (er.what == mouseDown)
mouse_tracking_in_progress
--- 8262,8267 ----
***************
*** 8287,8292 ****
--- 8286,8292 ----
}
}
+ inev.kind = MOUSE_CLICK_EVENT;
#if USE_CARBON_EVENTS
inev.modifiers = mac_event_to_emacs_modifiers (eventRef);
#else