]> git.eshelyaron.com Git - emacs.git/commit
Keep display mm width and height up to date after changes
authorPo Lu <luangruo@yahoo.com>
Sun, 29 May 2022 07:49:48 +0000 (15:49 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 29 May 2022 07:49:48 +0000 (15:49 +0800)
commit6f8e856ada08abf4cd29f03fe379a66693a78ba3
tree5bff0a1a26bdf44a63bf7bc0173d5cdbb675a742
parent22a3e92dc6e3106fe5a7afdf3c1de95e2b3e1fb7
Keep display mm width and height up to date after changes

* src/xfns.c (Fx_display_mm_width, Fx_display_mm_height): Use
new fields if they are set.
* src/xterm.c (handle_one_xevent): Set new fields on RRNotify if
the screen is correct.
* src/xterm.h (struct x_display_info): New fields
`screen_mm_width', `screen_mm_height'.
src/xfns.c
src/xterm.c
src/xterm.h