; * src/keyboard.c (make_lispy_position): Fix a recent change.

This commit is contained in:
Eli Zaretskii 2021-09-11 15:59:32 +03:00
parent e4300777e8
commit afa82b3f7f

View file

@ -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,