]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/nsterm.m ([EmacsView toolbarClicked:]): Fix last change
authorRobert Pluim <rpluim@gmail.com>
Thu, 27 Feb 2020 17:32:50 +0000 (12:32 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Feb 2020 17:32:50 +0000 (12:32 -0500)
src/nsterm.m

index aefbb2721efaf66e0824b4a56ff3433e43d045d7..84acb61dcd1e6a4936eb7eab84407110455a619a 100644 (file)
@@ -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,