]> git.eshelyaron.com Git - emacs.git/commit
Handle exposure in the widget's expose proc on X
authorPo Lu <luangruo@yahoo.com>
Sat, 30 Apr 2022 06:29:33 +0000 (14:29 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 30 Apr 2022 06:29:33 +0000 (14:29 +0800)
commit0ce48e2882ad73925f9b524d879d8e57909e6d38
tree92ca3a71589de719596ebe797ccdec0a8ec302ea
parent4fb028be6c2de5a556f56bb40a3f948a143cef37
Handle exposure in the widget's expose proc on X

* src/widget.c (emacsFrameClassRec): Don't inherit expose proc.
(get_default_char_pixel_size):
(pixel_to_char_size):
(char_to_pixel_size):
(round_size_to_char):
(EmacsFrameInitialize):
(EmacsFrameRealize):
(EmacsFrameResize): Clean up coding style.
(EmacsFrameExpose): New function.  Expose the frame here to
satisfy the toolkit when it calls the expose proc by hand.

* src/xterm.c (handle_one_xevent): Handle exposure through the
widget instead.
src/widget.c
src/xterm.c