projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.18.tar.gz
[xscreensaver]
/
hacks
/
mountain.c
diff --git
a/hacks/mountain.c
b/hacks/mountain.c
index 1c4e64c05b09e724811afbc25c5de5de9c1812de..82d5fce7e82482c219083302113fe95badcf3cf0 100644
(file)
--- a/
hacks/mountain.c
+++ b/
hacks/mountain.c
@@
-35,7
+35,6
@@
static const char sccsid[] = "@(#)mountain.c 5.00 2000/11/01 xlockmore";
"*fpsSolid: true \n" \
# define SMOOTH_COLORS
"*fpsSolid: true \n" \
# define SMOOTH_COLORS
-# define reshape_mountain 0
# define mountain_handle_event 0
# include "xlockmore.h" /* in xscreensaver distribution */
#else /* STANDALONE */
# define mountain_handle_event 0
# include "xlockmore.h" /* in xscreensaver distribution */
#else /* STANDALONE */
@@
-255,6
+254,14
@@
draw_mountain (ModeInfo * mi)
}
}
}
}
+ENTRYPOINT void
+reshape_mountain(ModeInfo * mi, int width, int height)
+{
+ XClearWindow (MI_DISPLAY (mi), MI_WINDOW(mi));
+ init_mountain (mi);
+}
+
+
ENTRYPOINT void
release_mountain (ModeInfo * mi)
{
ENTRYPOINT void
release_mountain (ModeInfo * mi)
{