Lines 1-5
Link Here
|
1 |
--- wmwave.c.orig 2008-02-27 09:24:06.628732284 +1030 |
1 |
--- wmwave.c.orig 1999-08-20 13:44:21 UTC |
2 |
+++ wmwave.c 2008-02-27 09:32:07.088117765 +1030 |
2 |
+++ wmwave.c |
3 |
@@ -29,6 +29,18 @@ |
3 |
@@ -29,6 +29,18 @@ |
4 |
* |
4 |
* |
5 |
* Revision 1.1 1999/08/15 15:39:18 carsten |
5 |
* Revision 1.1 1999/08/15 15:39:18 carsten |
Lines 19-25
Link Here
|
19 |
* |
19 |
* |
20 |
*/ |
20 |
*/ |
21 |
|
21 |
|
22 |
@@ -57,6 +69,23 @@ |
22 |
@@ -45,6 +57,7 @@ |
|
|
23 |
#include <limits.h> |
24 |
#include <errno.h> |
25 |
#include <signal.h> |
26 |
+#include <err.h> |
27 |
|
28 |
#include <sys/wait.h> |
29 |
#include <sys/stat.h> |
30 |
@@ -57,6 +70,23 @@ |
23 |
#include <X11/xpm.h> |
31 |
#include <X11/xpm.h> |
24 |
#include <X11/extensions/shape.h> |
32 |
#include <X11/extensions/shape.h> |
25 |
|
33 |
|
Lines 43-49
Link Here
|
43 |
|
51 |
|
44 |
#include "wmgeneral.h" |
52 |
#include "wmgeneral.h" |
45 |
|
53 |
|
46 |
@@ -66,7 +94,9 @@ |
54 |
@@ -66,7 +96,9 @@ char wmwave_mask_bits[64*64]; |
47 |
int wmwave_mask_width = 64; |
55 |
int wmwave_mask_width = 64; |
48 |
int wmwave_mask_height = 64; |
56 |
int wmwave_mask_height = 64; |
49 |
|
57 |
|
Lines 54-60
Link Here
|
54 |
|
62 |
|
55 |
int update_rate=100000; |
63 |
int update_rate=100000; |
56 |
|
64 |
|
57 |
@@ -125,65 +155,100 @@ |
65 |
@@ -125,65 +157,100 @@ float min (float x, float y) { |
58 |
} |
66 |
} |
59 |
|
67 |
|
60 |
/* |
68 |
/* |
Lines 212-218
Link Here
|
212 |
} |
220 |
} |
213 |
|
221 |
|
214 |
/* SIGCHLD handler */ |
222 |
/* SIGCHLD handler */ |
215 |
@@ -208,6 +273,11 @@ |
223 |
@@ -208,6 +275,11 @@ int main(int argc, char *argv[]) { |
216 |
|
224 |
|
217 |
if (*arg=='-') { |
225 |
if (*arg=='-') { |
218 |
switch (arg[1]) { |
226 |
switch (arg[1]) { |
Lines 224-230
Link Here
|
224 |
case 'd' : |
232 |
case 'd' : |
225 |
if (strcmp(arg+1, "display")) { |
233 |
if (strcmp(arg+1, "display")) { |
226 |
usage(); |
234 |
usage(); |
227 |
@@ -345,6 +415,7 @@ |
235 |
@@ -345,6 +417,7 @@ void usage(void) { |
228 |
fprintf(stderr, "\nWmwave - Carsten Schuermann <carsten@schuermann.org> http://www.schuermann.org/~dockapps\n\n"); |
236 |
fprintf(stderr, "\nWmwave - Carsten Schuermann <carsten@schuermann.org> http://www.schuermann.org/~dockapps\n\n"); |
229 |
fprintf(stderr, "usage:\n"); |
237 |
fprintf(stderr, "usage:\n"); |
230 |
fprintf(stderr, " -display <display name>\n"); |
238 |
fprintf(stderr, " -display <display name>\n"); |
231 |
- |
|
|