]> git.eshelyaron.com Git - emacs.git/commit
Respond to changes to the size of the root window
authorPo Lu <luangruo@yahoo.com>
Thu, 19 May 2022 01:30:33 +0000 (09:30 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 19 May 2022 01:30:33 +0000 (09:30 +0800)
commitbc604417f87f9fce865e70b3bc88b6bf2a8fd415
tree601ada2e80a31e062f12298ef00cd77aac75e9a4
parent9178428b02500005aeaaa4ea40353589a029a63e
Respond to changes to the size of the root window

* src/xterm.c (x_display_pixel_height, x_display_pixel_width):
Move here instead.
(handle_one_xevent): Handle ConfigureNotify for the root window.
(x_term_init): Select for structure events on the root window.

* src/xterm.h (struct x_display_info): New fields `screen_width'
and `screen_height'.
(x_display_pixel_height, x_display_pixel_width): Make
prototypes.
src/xterm.c
src/xterm.h