]> git.eshelyaron.com Git - emacs.git/commit
Implement xwidget passive grabs
authorPo Lu <luangruo@yahoo.com>
Fri, 28 Jan 2022 02:41:03 +0000 (10:41 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 28 Jan 2022 02:41:03 +0000 (10:41 +0800)
commit8471c6f06c611dc9853eeb9508dff9844c75df6e
tree8e0a4561c3de3b682343a33d831e0d10791bdbaf
parent8eaf04de83fd967c2ab69a4c1dfe44a6a10aa912
Implement xwidget passive grabs

* src/xwidget.c (find_widget_at_pos): New parameters for
controlling whether to respect grabs.  All callers changed.
(window_coords_from_toplevel): Make work when the widget is
the toplevel.
(find_widget): Fix coding style.
(xwidget_button_1): Set and clear passive grabs if appropriate.
(xw_maybe_synthesize_crossing): Allow current_window to be NULL
if the mode is XW_CROSSING_LEFT.
src/xwidget.c
src/xwidget.h