projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.ksu.edu.tw/FTP/FreeBSD/distfiles/xscreensaver-4.20.tar.gz
[xscreensaver]
/
hacks
/
slip.c
diff --git
a/hacks/slip.c
b/hacks/slip.c
index 44672e7b17e80a2ba5f6c1ca390c678523db7a7e..c9ef6fe2b2b520622b78b8e1bc50c25c54f4399b 100644
(file)
--- a/
hacks/slip.c
+++ b/
hacks/slip.c
@@
-1,9
+1,8
@@
/* -*- Mode: C; tab-width: 4 -*- */
/* slip --- lots of slipping blits */
/* -*- Mode: C; tab-width: 4 -*- */
/* slip --- lots of slipping blits */
-#if
!defined( lint ) && !defined( SABER )
+#if
0
static const char sccsid[] = "@(#)slip.c 5.00 2000/11/01 xlockmore";
static const char sccsid[] = "@(#)slip.c 5.00 2000/11/01 xlockmore";
-
#endif
/*-
#endif
/*-
@@
-112,8
+111,8
@@
prepare_screen(ModeInfo * mi, slipstruct * sp)
#ifdef STANDALONE /* jwz -- sometimes hack the desktop image! */
if (halfrandom(sp, 2) == 0) {
#ifdef STANDALONE /* jwz -- sometimes hack the desktop image! */
if (halfrandom(sp, 2) == 0) {
-
grab_screen_image
(DefaultScreenOfDisplay(display),
- MI_WINDOW(mi));
+
load_random_image
(DefaultScreenOfDisplay(display),
+ MI_WINDOW(mi)
, MI_WINDOW(mi), NULL, NULL
);
}
#endif
}
#endif