diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-09-11 15:59:32 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-09-11 15:59:32 +0300 |
commit | afa82b3f7f864467ebf8807d0d3b95376383d5af (patch) | |
tree | 5cf7e5656149baebb7b536ea95a3da0d66ed72bf /src | |
parent | e4300777e8cc7559ea29faaeab6cafd3f7ebf3b7 (diff) | |
download | emacs-afa82b3f7f864467ebf8807d0d3b95376383d5af.tar.gz emacs-afa82b3f7f864467ebf8807d0d3b95376383d5af.tar.bz2 emacs-afa82b3f7f864467ebf8807d0d3b95376383d5af.zip |
; * src/keyboard.c (make_lispy_position): Fix a recent change.
Diffstat (limited to 'src')
-rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 4 insertions, 1 deletions
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, |