]> git.eshelyaron.com Git - emacs.git/commit
Support for menu bar in window_from_coordinates
authorManuel Giraud <manuel@ledu-giraud.fr>
Sat, 21 Oct 2023 12:36:24 +0000 (14:36 +0200)
committerPo Lu <luangruo@yahoo.com>
Sat, 28 Oct 2023 05:28:07 +0000 (13:28 +0800)
commit6b229ffc6f32b111bf11242080d98022758b43e0
tree18e5381df66ef12287ddc90100dd3f4bab758bf0
parent1e5760ed786667113d4e144504ca7a981d25cf37
Support for menu bar in window_from_coordinates

* src/window.h:
* src/window.c (window_from_coordinates): In the no toolkit
build, add support for the menu bar window.  Add a new
'menu_bar_p' argument so the function's signature has changed.
All callers changed.

* src/androidterm.c (handle_one_android_event):
* src/haikuterm.c (haiku_read_socket):
* src/keyboard.c (make_lispy_position):
* src/nsterm.m ([EmacsView mouseDown:]):
* src/pgtkterm.c (button_event):
* src/w32term.c (w32_read_socket):
* src/xdisp.c (note_mouse_highlight):
* src/xterm.c (handle_one_xevent): Set menu_bar_p to true.
12 files changed:
src/androidterm.c
src/haikuterm.c
src/keyboard.c
src/msdos.c
src/nsterm.m
src/pgtkterm.c
src/w32inevt.c
src/w32term.c
src/window.c
src/window.h
src/xdisp.c
src/xterm.c