]> git.eshelyaron.com Git - emacs.git/commit
Don't unnecessarily call monitor change functions
authorPo Lu <luangruo@yahoo.com>
Sun, 22 May 2022 01:27:46 +0000 (09:27 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 22 May 2022 01:27:46 +0000 (09:27 +0800)
commite465ea816d6a64a21822549982928c48961fec99
tree2290ba7a26d25a23c43dec933d489a001f178456
parent900700a03fd9839b70ffb6796e441e5ba57136a7
Don't unnecessarily call monitor change functions

* src/xterm.c (handle_one_xevent): If monitor attributes didn't
change, don't send monitor change event.
(x_term_init, mark_xterm): Mark and init new field.
* src/xterm.h (struct x_display_info): New field
`last_monitor_attributes_list'.
src/xterm.c
src/xterm.h