summaryrefslogtreecommitdiffstats
path: root/hacks/testx11.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/testx11.c
parentMaybe not remove, but ... (diff)
downloadxscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.gz
xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.tar.xz
xscreensaver-38886de0c3e9ea5729ef23e4c653fa2822f52e8f.zip
xscreensaver 6.00v28r1openslx
Diffstat (limited to 'hacks/testx11.c')
-rw-r--r--hacks/testx11.c5
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: