X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fthornbird.c;h=cb5541de2e99b9bc12e3c697f558c7971a03e997;hb=2762a7d7cf8d83e68b8f635941f6609119d630ae;hp=2ba401616963122931d0d5220e78f7c7197d7f47;hpb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;p=xscreensaver diff --git a/hacks/thornbird.c b/hacks/thornbird.c index 2ba40161..cb5541de 100644 --- a/hacks/thornbird.c +++ b/hacks/thornbird.c @@ -36,9 +36,9 @@ static const char sccsid[] = "@(#)thornbird.c 5.00 2000/11/01 xlockmore"; "*cycles: 400 \n" \ "*ncolors: 64 \n" \ "*fpsSolid: true \n" \ + "*ignoreRotation: True \n" \ # define BRIGHT_COLORS -# define reshape_thornbird 0 # define thornbird_handle_event 0 # include "xlockmore.h" /* in xscreensaver distribution */ #else /* STANDALONE */ @@ -248,7 +248,13 @@ draw_thornbird(ModeInfo * mi) XDrawPoints(dsp, win, gc, hp->pointBuffer[current], batchcount, CoordModeOrigin); hp->inc++; +} +ENTRYPOINT void +reshape_thornbird(ModeInfo * mi, int width, int height) +{ + XClearWindow (MI_DISPLAY (mi), MI_WINDOW(mi)); + init_thornbird (mi); } ENTRYPOINT void