X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Floop.c;h=7a998738f73b2de0471bd6b9dfad443c3c0463fe;hp=7b50a56a0b52dc20e2e75a60eaa11adb75d8b4a9;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hpb=c70f94f648d51bb4828193124f325fa52b0e57f3 diff --git a/hacks/loop.c b/hacks/loop.c index 7b50a56a..7a998738 100644 --- a/hacks/loop.c +++ b/hacks/loop.c @@ -93,7 +93,6 @@ static const char sccsid[] = "@(#)loop.c 5.01 2000/03/15 xlockmore"; "*fpsSolid: true \n" \ # define UNIFORM_COLORS -# define reshape_loop 0 # define loop_handle_event 0 # include "xlockmore.h" /* in xscreensaver distribution */ #else /* STANDALONE */ @@ -1678,6 +1677,13 @@ draw_loop (ModeInfo * mi) } } +ENTRYPOINT void +reshape_loop(ModeInfo * mi, int width, int height) +{ + XClearWindow (MI_DISPLAY (mi), MI_WINDOW(mi)); + init_loop (mi); +} + ENTRYPOINT void refresh_loop (ModeInfo * mi) {