diff options
author | Simon Rettberg | 2021-04-06 14:23:46 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-06 14:23:46 +0200 |
commit | 26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9 (patch) | |
tree | a51e1637554bcd84e63cccb1cb220c898a2c4ee8 /hacks/testx11.c | |
parent | 5.44 (diff) | |
download | xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.gz xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.tar.xz xscreensaver-26b6e4255d4b9ff79a6dca10de5bec7bfc8691f9.zip |
xscreensaver 6.00
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: |