X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fdeluxe.c;h=522e01352947c3f4ddec21c0372c93c43f0b9ffb;hp=bf34b316047741eca6aab952420b394e2d24efba;hb=13dbc569cdc6e29019722c0ef9b932a925efbcad;hpb=3f9592851ce4ed76a9979bfdd6ec7dc5c457e183 diff --git a/hacks/deluxe.c b/hacks/deluxe.c index bf34b316..522e0135 100644 --- a/hacks/deluxe.c +++ b/hacks/deluxe.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1999, 2001 Jamie Zawinski +/* xscreensaver, Copyright (c) 1999, 2001, 2002 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -335,7 +335,11 @@ screenhack (Display *dpy, Window window) while (1) { - if (!backb || !dbeclear_p) + if (!dbeclear_p || +#ifdef HAVE_DOUBLE_BUFFER_EXTENSION + !backb +#endif /* HAVE_DOUBLE_BUFFER_EXTENSION */ + ) XFillRectangle (dpy, b, erase_gc, 0, 0, xgwa.width, xgwa.height); for (i = 0; i < count; i++)