From 6321121d3f0d48a7cf74266a999046d97c5c2c43 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Thu, 11 Mar 2004 22:43:32 +0000 Subject: [PATCH] (XTread_socket): Fix mouse click on tool bar. --- src/macterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5