]> git.eshelyaron.com Git - emacs.git/commit
Don't draw xwidgets that have just been resized
authorPo Lu <luangruo@yahoo.com>
Wed, 17 Nov 2021 12:31:41 +0000 (20:31 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 17 Nov 2021 12:34:30 +0000 (20:34 +0800)
commit9ae741750cc3e96cacb3c496f7c941e5fc3f1052
tree68bee7fd2fafa035177f1b361afb12bee523ee03
parentb6ea007f9dc02f2699d5d772032344fbd189c55d
Don't draw xwidgets that have just been resized

This serves to eliminate the huge black bar displayed when the
offscreen widget has been resized (and as such the damage event
signal is sent), but the X window hasn't.

* src/xwidget.c (xv_do_draw): Don't draw xwidgets that have
just been resized.
(x_draw_xwidget_glyph_string)
(xwidget_init_view): Clear just_resized.

(Fxwidget_resize): Set just_resized first, then queue allocate.
src/xwidget.c
src/xwidget.h