1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
diff -Naur wmMand-1.3.2/wmMand/wmMand.c wmMand-1.3.2.patched/wmMand/wmMand.c
--- wmMand-1.3.2/wmMand/wmMand.c 2007-03-17 03:35:23.000000000 -0400
+++ wmMand-1.3.2.patched/wmMand/wmMand.c 2025-08-05 20:05:18.115180227 -0400
@@ -230,21 +230,17 @@
cursorHidden = True;
}
if (!KeyPressEvent(&event.xkey, &info)) {
- printf("wmMand: unhandled keypress, passing to root\n");
XSendEvent(display, Root, True, KeyPressMask, &event);
}
forceUpdate = True;
break;
case EnterNotify:
- printf("wmMand: pointer entered window\n");
if (info.depth == 8) XInstallColormap(display, info.cmap);
break;
case FocusOut:
- printf("wmMand: focus out\n");
focused = False;
break;
case LeaveNotify:
- printf("wmMand: pointer left window\n");
if (cursorHidden) { /* unhide cursor */
XUndefineCursor(display, event.xcrossing.window);
cursorHidden = False;
@@ -926,8 +922,6 @@
else
sprintf(fp_command, "display -title wmMand_Re%3.3E_Im%3.3E_Ra%3.3E.gif -", X, Y, range);
- printf("wmMand: large image launched with command: %s\n", fp_command);
-
if ((fp_pid = fork()) == -1)
fprintf(stderr, "wmMand: fork error\n");
else {
@@ -995,11 +989,6 @@
sprintf(fp_command[8], "-maxiter");
sprintf(fp_command[9], "%d", iterList[iterations]);
- printf("wmMand: fractal viewer command:");
- for (i = 0; i < 10; ++i)
- printf(" %s", fp_command[i]);
- printf("\n");
-
if ((fp_pid = fork()) == -1)
fprintf(stderr, "wmMand: fork error\n");
else {
@@ -1008,7 +997,6 @@
fprintf(stderr, "wmMand: unable to launch Xaos\n");
exit(EXIT_FAILURE);
}
- printf("wmMand: This code is never reached\n");
exit(EXIT_SUCCESS);
}
}
|