From afa82b3f7f864467ebf8807d0d3b95376383d5af Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 11 Sep 2021 15:59:32 +0300 Subject: [PATCH] ; * src/keyboard.c (make_lispy_position): Fix a recent change. --- src/keyboard.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, -- 2.39.5