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:
@@ -1,7 +1,6 @@
|
||||
|
||||
#include "wraster.h"
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include "wraster.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -9,6 +8,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
Display *dpy;
|
||||
RContext *ctx;
|
||||
char *ProgName;
|
||||
@@ -63,7 +63,7 @@ testDraw()
|
||||
* in the second slot, and also save a copy for later use. */
|
||||
icon = RLoadImage(ctx, "ballot_box.xpm", 0);
|
||||
if (!icon) {
|
||||
puts(RErrorString);
|
||||
puts(RMessageForError(RErrorCode));
|
||||
exit(1);
|
||||
}
|
||||
RCombineArea(img, icon, 0, 0, icon->width, icon->height, 8, 8);
|
||||
@@ -538,7 +538,7 @@ void main(int argc, char **argv)
|
||||
|
||||
if (!ctx) {
|
||||
printf("could not initialize graphics library context: %s\n",
|
||||
RErrorString);
|
||||
RMessageForError(RErrorCode));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@@ -546,10 +546,10 @@ void main(int argc, char **argv)
|
||||
testDraw();
|
||||
|
||||
testBevel();
|
||||
/*
|
||||
|
||||
drawClip();
|
||||
|
||||
benchmark();
|
||||
*/
|
||||
/* benchmark();*/
|
||||
|
||||
getchar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user