]> git.eshelyaron.com Git - emacs.git/commit
Make xwidget motion commands hscroll the window of wide widgets
authorPo Lu <luangruo@yahoo.com>
Thu, 30 Dec 2021 07:04:18 +0000 (15:04 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 30 Dec 2021 07:05:39 +0000 (15:05 +0800)
commit37ad776b9e6c90b2c289dd2413868066608594a7
treeef9c53b9f1a9fe299e38bf29b3f69ecacb027ee2
parenta3129af331b8893cec3036f8baec26d49e339b5f
Make xwidget motion commands hscroll the window of wide widgets

* lisp/xwidget.el (xwidget-info): New function declaration.
(xwidget-webkit-scroll-forward):
(xwidget-webkit-scroll-backward): Hscroll the window if the
widget is wider than the text area.  (bug#52885)

* src/xwidget.c (xwidget_scroll, xwidget_motion_notify): Apply
clip offsets to coordinates.
lisp/xwidget.el
src/xwidget.c