]> git.eshelyaron.com Git - emacs.git/commit
Stop assuming xwidget views will only be displayed in TEXT_AREA
authorPo Lu <luangruo@yahoo.com>
Mon, 15 Nov 2021 01:27:31 +0000 (09:27 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 15 Nov 2021 01:27:31 +0000 (09:27 +0800)
commitd9e91da7690a7872a27d9fcb652a170d84e4d891
tree78529f73f901e4700cc8f8a6ce9d472323b17fbb
parent364cf2494c9b94e1d265b637394c80c4eecfb505
Stop assuming xwidget views will only be displayed in TEXT_AREA

* src/xterm.c (x_scroll_run): Use view->area when calculating
xwidget view clipping.

* src/xwidget.c (x_draw_xwidget_glyph_string): Set view->area
to s->area and use that instead.

* src/xwidget.h (struct xwidget_view): Add glyph row area field.
src/xterm.c
src/xwidget.c
src/xwidget.h