]> git.eshelyaron.com Git - emacs.git/commit
Correctly handle exposure in oldXMenu
authorPo Lu <luangruo@yahoo.com>
Mon, 7 Mar 2022 13:36:25 +0000 (21:36 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 7 Mar 2022 13:36:25 +0000 (21:36 +0800)
commit418e5da5d308b4e440f28545eb139211066b48a4
tree6061adb42a47040a10f8d36854f6e924c4202ac6
parent8a7df412a640c8b2334b78ec0ca872a6d11e8b0e
Correctly handle exposure in oldXMenu

* oldXMenu/Activate.c (XMenuActivate): Call set expose_func if
no pane was found.
(XMenuActivateSetExposeFunction): New function.
* oldXMenu/XMenu.h: New typedef `expose_func'.  Update
prototypes.
* src/xmenu.c (x_menu_expose_event): New function.
(x_menu_show): Set expose event handler.
* src/xterm.c (x_dispatch_event): Make `static' only on GTK.
* src/xterm.h: Expose `x_dispatch_event' on no-toolkit builds.
oldXMenu/Activate.c
oldXMenu/XMenu.h
src/xmenu.c
src/xterm.c
src/xterm.h