]> code.delx.au - gnu-emacs/commit
Preliminary attempt to fix horizontal scroll bar dragging with bidi text.
authorMartin Rudalics <rudalics@gmx.at>
Sat, 16 Aug 2014 15:47:38 +0000 (17:47 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 16 Aug 2014 15:47:38 +0000 (17:47 +0200)
commit266821b087057c25c5f7169d832b0bdc8b8a0aa5
tree85b58a3f30f4bb732a65659eaa7ddef87fb10cab
parented30c57cc9cdcf8ddc169f4b042146db9b3b7179
Preliminary attempt to fix horizontal scroll bar dragging with bidi text.

* w32term.c (w32_horizontal_scroll_bar_handle_click): In y part
of emacs_event return length from si.nPage to si.nMax.
* xdisp.c (set_horizontal_scroll_bar): For right-to-left text
interchange start and end of thumb.
* scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
portion-whole for scrolling right-to-left text.
lisp/ChangeLog
lisp/scroll-bar.el
src/ChangeLog
src/w32term.c
src/xdisp.c