1 |
diff -ru WindowMaker-0.92.0.orig/src/main.c WindowMaker-0.92.0/src/main.c |
2 |
--- WindowMaker-0.92.0.orig/src/main.c 2004-10-24 22:32:51.000000000 -0300 |
3 |
+++ WindowMaker-0.92.0/src/main.c 2008-02-20 18:40:10.000000000 -0300 |
4 |
@@ -828,6 +828,12 @@ |
5 |
exit(1); |
6 |
} |
7 |
|
8 |
+ /* Ensure wVisualID is the visual id of the default display visual. |
9 |
+ * This is required to avoid all sort of corruptions when using |
10 |
+ * composite at a depth other than 24. |
11 |
+ */ |
12 |
+ wVisualID = (int)DefaultVisual(dpy, DefaultScreen(dpy))->visualid; |
13 |
+ |
14 |
/* check if the user specified a complete display name (with screen). |
15 |
* If so, only manage the specified screen */ |
16 |
if (DisplayName) |
17 |
Somente em WindowMaker-0.92.0/src: main.c~ |