]> git.eshelyaron.com Git - emacs.git/commit
Fix more toolkit scroll bar window protection issues
authorPo Lu <luangruo@yahoo.com>
Fri, 23 Sep 2022 12:41:24 +0000 (20:41 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 23 Sep 2022 12:41:47 +0000 (20:41 +0800)
commite359df4217a392bb3185ff7449656c0a8953a6f4
tree54b2db4f5f61bd645e947c6927eb49356cd9b0d4
parent8892abbaf92ebd2e8f968fe86270fba08bf1d07a
Fix more toolkit scroll bar window protection issues

* src/xterm.c (handle_one_xevent): Ignore outdated scroll bar
events.
(x_free_frame_resources): Clear protected windows and invalidate
previous scroll bar events.
* src/xterm.h (struct x_display_info): New field
`first_valid_scroll_bar_req'.
src/xterm.c
src/xterm.h