]> git.eshelyaron.com Git - emacs.git/commit
Avoid extra consing on monitor configuration change
authorPo Lu <luangruo@yahoo.com>
Tue, 2 Aug 2022 01:41:02 +0000 (09:41 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 2 Aug 2022 01:41:02 +0000 (09:41 +0800)
commit0c910f689b0100ec658ba7a70da23376e8eeee81
treee8950959b75ea60bce51462a204ea8bdeff1a4f5
parentbc7dc792dfe514fc66f8e330a4a95ece66560fa4
Avoid extra consing on monitor configuration change

* src/xterm.c (x_find_monitors_changed_event): New function.
(x_monitors_changed_cb, handle_one_xevent): Look through the
entire event queue to skip delivering monitor change events.
src/xterm.c