1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 13:28:05 +01:00

Updating to version 0.20.2

Many bug fixes.
This commit is contained in:
dan
1998-10-21 14:43:47 +00:00
parent 9d2e6ef9f1
commit 9af1c6c415
222 changed files with 9132 additions and 4322 deletions

View File

@@ -1,7 +1,7 @@
#include "wraster.h"
#include <X11/Xlib.h>
#include "wraster.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -116,7 +116,7 @@ void main(int argc, char **argv)
if (!ctx) {
printf("could not initialize graphics library context: %s\n",
RErrorString);
RMessageForError(RErrorCode));
exit(1);
}
@@ -139,14 +139,15 @@ void main(int argc, char **argv)
val.background_pixel = ctx->black;
val.colormap = ctx->cmap;
val.backing_store = Always;
#ifdef BENCH
win = XCreateWindow(dpy, DefaultRootWindow(dpy), 10, 10, 250, 250,
0, ctx->depth, InputOutput, ctx->visual,
CWColormap|CWBackPixel, &val);
CWColormap|CWBackPixel|CWBackingStore, &val);
#else
win = XCreateWindow(dpy, DefaultRootWindow(dpy), 10, 10, 750, 250,
0, ctx->depth, InputOutput, ctx->visual,
CWColormap|CWBackPixel, &val);
CWColormap|CWBackPixel|CWBackingStore, &val);
#endif
XMapRaised(dpy, win);
XFlush(dpy);