X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fthornbird.c;h=e7bbf6ddf360b24935a98aeee59750b3077ae945;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hp=e074ab829040fc30e898835ee0cd480838c84bce;hpb=ec8d2b32b63649e6d32bdfb306eda062769af823;p=xscreensaver diff --git a/hacks/thornbird.c b/hacks/thornbird.c index e074ab82..e7bbf6dd 100644 --- a/hacks/thornbird.c +++ b/hacks/thornbird.c @@ -38,7 +38,6 @@ static const char sccsid[] = "@(#)thornbird.c 5.00 2000/11/01 xlockmore"; "*fpsSolid: true \n" \ # define BRIGHT_COLORS -# define reshape_thornbird 0 # define thornbird_handle_event 0 # include "xlockmore.h" /* in xscreensaver distribution */ #else /* STANDALONE */ @@ -250,6 +249,13 @@ draw_thornbird(ModeInfo * mi) hp->inc++; } +ENTRYPOINT void +reshape_thornbird(ModeInfo * mi, int width, int height) +{ + XClearWindow (MI_DISPLAY (mi), MI_WINDOW(mi)); + init_thornbird (mi); +} + ENTRYPOINT void release_thornbird(ModeInfo * mi) {