wdvi

network DVI viewer
Log | Files | Refs

commit 68745d092199c208ae1a09b07c47cf2a024d84a8
parent f89acbe5940001d670c6169ea21aa9973534ec1e
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Thu, 16 Sep 2021 07:33:44 +0000

set the backing store to WhenMapped

Diffstat:
Mxdvi.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/xdvi.c b/xdvi.c @@ -921,6 +921,10 @@ main(int argc, char **argv) currwin.win = mane.win = XtWindow(draw_widget); + XSetWindowAttributes wattrs; + wattrs.backing_store = WhenMapped; + XChangeWindowAttributes(DISP, mane.win, CWBackingStore, &wattrs); + XWindowAttributes attrs; (void) XGetWindowAttributes(DISP, mane.win, &attrs); backing_store = attrs.backing_store;