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
3 @@ -1619,14 +1619,14 @@
4 if(rendermode==render_soft) {
5 // setup attributes for main window
7 - attribmask = CWColormap | CWSaveUnder | CWBackingStore |
8 + attribmask = CWSaveUnder | CWBackingStore |
9 CWEventMask | CWOverrideRedirect;
11 attribs.override_redirect = True;
12 attribs.backing_store = NotUseful;
13 attribs.save_under = False;
15 - attribmask = CWBorderPixel | CWColormap | CWEventMask;
16 + attribmask = CWBorderPixel | CWEventMask;
18 attribs.event_mask = KeyPressMask | KeyReleaseMask
20 @@ -1634,7 +1634,10 @@
22 | ExposureMask | StructureNotifyMask;
25 + attribmask |= CWColormap;
26 attribs.colormap = X_cmap;
28 attribs.border_pixel = 0;
30 // create the main window