all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug with tab bar and event delivery to header line
@ 2019-10-17 20:34 Cecilio Pardo
  2019-10-18  6:38 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Cecilio Pardo @ 2019-10-17 20:34 UTC (permalink / raw)
  To: emacs-devel


Some mouse events are sent to the header line when the pointer is way 
below the header line. I think the problem may be the function 
coordinates_in_window. 
When testing for the header line, it uses the height of the tab bar:

 || (window_wants_header_line (w)
     && y < top_y + CURRENT_TAB_LINE_HEIGHT (w) 
                  + CURRENT_HEADER_LINE_HEIGHT (w)
	 && (part = ON_HEADER_LINE)))

I checked that CURRENT_TAB_LINE_HEIGHT returns a big value even
when there is no tab bar. I don't know if that's correct or not.

-- 
Cecilio Pardo



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-18 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-17 20:34 Bug with tab bar and event delivery to header line Cecilio Pardo
2019-10-18  6:38 ` Eli Zaretskii
2019-10-18 12:33   ` Cecilio Pardo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.