]> git.pld-linux.org Git - packages/doomlegacy.git/blame - doomlegacy-nocmap.patch
- changed location of legacy.dat
[packages/doomlegacy.git] / doomlegacy-nocmap.patch
CommitLineData
746b6f37 1--- doomlegacy-1.40/doomlegacy_142_src/linux_x/i_video_xshm.c.orig Fri Mar 7 22:22:56 2003
2+++ doomlegacy-1.40/doomlegacy_142_src/linux_x/i_video_xshm.c Fri Mar 7 22:51:25 2003
30c4e2b9
JB
3@@ -1619,14 +1619,14 @@
4 if(rendermode==render_soft) {
5 // setup attributes for main window
6 if (vidmode_active) {
7- attribmask = CWColormap | CWSaveUnder | CWBackingStore |
8+ attribmask = CWSaveUnder | CWBackingStore |
9 CWEventMask | CWOverrideRedirect;
10
11 attribs.override_redirect = True;
12 attribs.backing_store = NotUseful;
13 attribs.save_under = False;
14 } else
15- attribmask = CWBorderPixel | CWColormap | CWEventMask;
16+ attribmask = CWBorderPixel | CWEventMask;
17
18 attribs.event_mask = KeyPressMask | KeyReleaseMask
19 #ifndef POLL_POINTER
20@@ -1634,7 +1634,10 @@
21 #endif
22 | ExposureMask | StructureNotifyMask;
23
24+ if( x_pseudo ) {
25+ attribmask |= CWColormap;
26 attribs.colormap = X_cmap;
27+ }
28 attribs.border_pixel = 0;
29
30 // create the main window
This page took 0.024964 seconds and 4 git commands to generate.