diff options
author | Simon Rettberg | 2021-04-06 14:43:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-07 13:38:37 +0200 |
commit | 38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch) | |
tree | 9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/testx11.c | |
parent | Maybe not remove, but ... (diff) | |
download | xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.gz xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.xz xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.zip |
Diffstat (limited to 'hacks/testx11.c')
-rw-r--r-- | hacks/testx11.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hacks/testx11.c b/hacks/testx11.c index cc21621..abcc1e0 100644 --- a/hacks/testx11.c +++ b/hacks/testx11.c @@ -33,8 +33,6 @@ # define jwxyz_assert_display(dpy) #endif -#define countof(a) (sizeof(a) / sizeof(*(a))) - static const char *testx11_defaults [] = { ".background: #a020f0", /* purple */ ".foreground: white", @@ -808,6 +806,7 @@ testx11_draw (Display *dpy, Window win, void *st_raw) /* X.org isn't making a whole lot of sense here. */ + { Bool use_copy = (st->frame / 20) & 1; { @@ -842,7 +841,7 @@ testx11_draw (Display *dpy, Window win, void *st_raw) */ XCopyArea (st->dpy, st->copy_pix64, t, gc, 32, 32, 128, 64, 0, h - 64); } - + } break; case mode_preserve: |