From: Kim F. Storm Date: Thu, 11 Mar 2004 22:43:32 +0000 (+0000) Subject: (XTread_socket): Fix mouse click on tool bar. X-Git-Tag: ttn-vms-21-2-B4~7273 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6321121d3f0d48a7cf74266a999046d97c5c2c43;p=emacs.git (XTread_socket): Fix mouse click on tool bar. --- diff --git a/src/macterm.c b/src/macterm.c index 4ff8972dacb..6a0f1aa1b0f 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -8262,7 +8262,6 @@ XTread_socket (int sd, int expected, struct input_event *hold_quit) { Lisp_Object window; - inev.kind = MOUSE_CLICK_EVENT; XSETFRAME (inev.frame_or_window, mwp->mFP); if (er.what == mouseDown) mouse_tracking_in_progress @@ -8285,6 +8284,8 @@ XTread_socket (int sd, int expected, struct input_event *hold_quit) ); break; } + else + inev.kind = MOUSE_CLICK_EVENT; } #if USE_CARBON_EVENTS