diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-06 10:02:03 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-06 10:02:03 +0800 |
commit | db2cb522e154ce97b7a780572d2cb99d82d291ca (patch) | |
tree | 0034636d6dcf9a776d4f47736d3ffddd8a800624 /lisp/emacs-lisp/rmc.el | |
parent | c9667e9b60fe0044ea4d5f000973a87a0c584033 (diff) | |
download | emacs-db2cb522e154ce97b7a780572d2cb99d82d291ca.tar.gz emacs-db2cb522e154ce97b7a780572d2cb99d82d291ca.tar.bz2 emacs-db2cb522e154ce97b7a780572d2cb99d82d291ca.zip |
Reduce non-toolkit scroll bar flicker
* src/xterm.c (x_scroll_bar_create): Initialize double buffer
for scroll bar.
(x_scroll_bar_set_handle)
(x_scroll_bar_remove, x_scroll_bar_expose): Draw to back buffer
instead.
(x_scroll_bar_end_update): New function.
(x_scroll_bar_clear): Fill the scroll bar with the background
instead when double buffered.
* src/xterm.h (struct scroll_bar): New field `x_drawable'.
Diffstat (limited to 'lisp/emacs-lisp/rmc.el')
0 files changed, 0 insertions, 0 deletions