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
/
distort.c
diff --git
a/hacks/distort.c
b/hacks/distort.c
index b9f6cee75ecdb9a6b3b4715a536792944627dc4b..919aa4bd83219f88daab240017cfc0ea85c3f207 100644
(file)
--- a/
hacks/distort.c
+++ b/
hacks/distort.c
@@
-1,6
+1,5
@@
/* -*- mode: C; tab-width: 4 -*-
/* -*- mode: C; tab-width: 4 -*-
- * xscreensaver, Copyright (c) 1992, 1993, 1994, 1996, 1997, 1998, 2002, 2003
- * Jamie Zawinski <jwz@jwz.org>
+ * xscreensaver, Copyright (c) 1992-2005 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@
-248,7
+247,7
@@
static void init_distort(Display *dpy, Window window)
gcflags |= GCSubwindowMode;
gc = XCreateGC (dpy, window, gcflags, &gcv);
gcflags |= GCSubwindowMode;
gc = XCreateGC (dpy, window, gcflags, &gcv);
- load_random_image (xgwa.screen, window, window);
+ load_random_image (xgwa.screen, window, window
, NULL, NULL
);
buffer_map = 0;
orig_map = XGetImage(dpy, window, 0, 0, xgwa.width, xgwa.height,
buffer_map = 0;
orig_map = XGetImage(dpy, window, 0, 0, xgwa.width, xgwa.height,
@@
-709,7
+708,7
@@
char *defaults [] = {
"*visualID: Best",
#endif
"*visualID: Best",
#endif
- "*delay:
1
000",
+ "*delay:
20
000",
"*radius: 0",
"*speed: 0",
"*number: 0",
"*radius: 0",
"*speed: 0",
"*number: 0",