/[packages]/cauldron/WindowMaker/current/SOURCES/WindowMaker-0.92.0-specify-visual-id-to-avoid-composite-corruption.patch
ViewVC logotype

Contents of /cauldron/WindowMaker/current/SOURCES/WindowMaker-0.92.0-specify-visual-id-to-avoid-composite-corruption.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 57463 - (show annotations) (download)
Wed Feb 23 16:02:32 2011 UTC (13 years, 1 month ago) by ahmad
File size: 727 byte(s)
imported package WindowMaker
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~

  ViewVC Help
Powered by ViewVC 1.1.30