From 77f69a90bfe1d605765803debdc30436115f2b72 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Thu, 27 Feb 2020 12:32:50 -0500 Subject: [PATCH] * src/nsterm.m ([EmacsView toolbarClicked:]): Fix last change --- src/nsterm.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nsterm.m b/src/nsterm.m index aefbb2721ef..84acb61dcd1 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -8185,6 +8185,7 @@ not_in_argv (NSString *arg) if (!emacs_event) return self; + theEvent = [[self window] currentEvent]; emacs_event->kind = TOOL_BAR_EVENT; /* XSETINT (emacs_event->code, 0); */ emacs_event->arg = AREF (emacsframe->tool_bar_items, -- 2.39.2