From: Eli Zaretskii Date: Sat, 11 Sep 2021 12:59:32 +0000 (+0300) Subject: ; * src/keyboard.c (make_lispy_position): Fix a recent change. X-Git-Tag: emacs-28.0.90~1063 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=afa82b3f7f864467ebf8807d0d3b95376383d5af;p=emacs.git ; * src/keyboard.c (make_lispy_position): Fix a recent change. --- diff --git a/src/keyboard.c b/src/keyboard.c index 9d435b73607..63bf29a948c 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -5105,8 +5105,11 @@ make_lispy_position (struct frame *f, Lisp_Object x, Lisp_Object y, #ifdef HAVE_WINDOW_SYSTEM if ((WINDOWP (f->tab_bar_window) && EQ (window_or_frame, f->tab_bar_window)) +#ifndef HAVE_EXT_TOOL_BAR || (WINDOWP (f->tool_bar_window) - && EQ (window_or_frame, f->tool_bar_window))) + && EQ (window_or_frame, f->tool_bar_window)) +#endif + ) { posn = EQ (window_or_frame, f->tab_bar_window) ? Qtab_bar : Qtool_bar; /* Kludge alert: for mouse events on the tab bar and tool bar,