projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.00.tar.gz
[xscreensaver]
/
hacks
/
greynetic.c
diff --git
a/hacks/greynetic.c
b/hacks/greynetic.c
index c3f5fbaf0c22b322ba14d9bcadb0ff29c0f729ba..1377c95d61e5793022d2bf6c3fbb673ce54c8756 100644
(file)
--- a/
hacks/greynetic.c
+++ b/
hacks/greynetic.c
@@
-1,5
+1,5
@@
-/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1997
- * Jamie Zawinski <jwz@
netscape.com
>
+/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1997
, 1998
+ * 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
@@
-152,15
+152,15
@@
greynetic (Display *dpy, Window window)
}
XChangeGC (dpy, gc, GCStipple|GCForeground|GCBackground, &gcv);
XFillRectangle (dpy, window, gc, x, y, w, h);
}
XChangeGC (dpy, gc, GCStipple|GCForeground|GCBackground, &gcv);
XFillRectangle (dpy, window, gc, x, y, w, h);
- XSync (dpy,
Tru
e);
+ XSync (dpy,
Fals
e);
}
\f
char *progclass = "Greynetic";
char *defaults [] = {
}
\f
char *progclass = "Greynetic";
char *defaults [] = {
- "
Greynetic.background: black", /* to placate SGI */
- "
Greynetic.foreground:
white",
+ "
.background: black",
+ "
.foreground:
white",
"*delay: 0",
0
};
"*delay: 0",
0
};
@@
-177,6
+177,7
@@
screenhack (Display *dpy, Window window)
while (1)
{
greynetic (dpy, window);
while (1)
{
greynetic (dpy, window);
+ screenhack_handle_events (dpy);
if (delay) usleep (delay);
}
}
if (delay) usleep (delay);
}
}