wdvi

network DVI viewer
Log | Files | Refs

commit 257ef69993db39b66e81e95b5aca7536e518e980
parent 36572bfdc58073596d094ba4fd970d267169ba54
Author: Kyle Milz <krwmilz@gmail.com>
Date:   Sat, 18 Sep 2021 22:06:57 +0000

does not seem to be a difference between Always and WhenMapped

err on the side of caution

Diffstat:
Mxdvi.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xdvi.c b/xdvi.c @@ -911,7 +911,7 @@ main(int argc, char **argv) currwin.win = mane.win = XtWindow(draw_widget); XSetWindowAttributes wattrs; - wattrs.backing_store = WhenMapped; + wattrs.backing_store = Always; XChangeWindowAttributes(DISP, mane.win, CWBackingStore, &wattrs); image = XCreateImage(DISP, CopyFromParent, 1, XYBitmap, 0,