X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fdrift.c;h=3547ca5109c2d69638f7da29d90a8e0e31b64a5f;hb=dba664f31aa87285db4d76cf8c5e66335299703a;hp=56e89b0a1ef85aa61372448008d00dfb8bd7c198;hpb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;p=xscreensaver diff --git a/hacks/drift.c b/hacks/drift.c index 56e89b0a..3547ca51 100644 --- a/hacks/drift.c +++ b/hacks/drift.c @@ -36,9 +36,9 @@ static const char sccsid[] = "@(#)drift.c 5.00 2000/11/01 xlockmore"; "*count: 30 \n" \ "*ncolors: 200 \n" \ "*fpsSolid: true \n" \ + "*ignoreRotation: True \n" \ # define SMOOTH_COLORS -# define reshape_drift 0 # define drift_handle_event 0 # include "xlockmore.h" /* in xscreensaver distribution */ # include "erase.h" @@ -684,6 +684,13 @@ release_drift(ModeInfo * mi) } } +ENTRYPOINT void +reshape_drift(ModeInfo * mi, int width, int height) +{ + MI_CLEARWINDOW(mi); + init_drift (mi); +} + ENTRYPOINT void refresh_drift(ModeInfo * mi) {