summaryrefslogtreecommitdiffstats
path: root/kscd/kscdmagic
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/kscdmagic')
-rw-r--r--kscd/kscdmagic/xlib.c6
-rw-r--r--kscd/kscdmagic/xlib.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/kscd/kscdmagic/xlib.c b/kscd/kscdmagic/xlib.c
index 530336cf..b28a0650 100644
--- a/kscd/kscdmagic/xlib.c
+++ b/kscd/kscdmagic/xlib.c
@@ -320,9 +320,9 @@ xdisplay *xalloc_display(const char *s, int xHint, int yHint, int x, int y, xlib
xd->attributes->background_pixel = BlackPixel(xd->display,
xd->screen);
xd->attributes->border_pixel = BlackPixel(xd->display, xd->screen);
- xd->attributes->event_tqmask = ButtonPressMask | StructureNotifyMask | ButtonReleaseMask | ButtonMotionMask | KeyPressMask | ExposureMask | KeyReleaseMask;
+ xd->attributes->event_mask = ButtonPressMask | StructureNotifyMask | ButtonReleaseMask | ButtonMotionMask | KeyPressMask | ExposureMask | KeyReleaseMask;
xd->attributes->override_redirect = False;
- xd->attr_tqmask = CWBackPixel | CWBorderPixel | CWEventMask;
+ xd->attr_mask = CWBackPixel | CWBorderPixel | CWEventMask;
xd->classX = InputOutput;
xd->xcolor.n = 0;
xd->parent_window = RootWindow(xd->display, xd->screen);
@@ -406,7 +406,7 @@ xdisplay *xalloc_display(const char *s, int xHint, int yHint, int x, int y, xlib
xd->window = XCreateWindow(xd->display, xd->parent_window, xHint, yHint,
xd->width, xd->height, xd->border_width,
vis.depth, xd->classX, xd->visual,
- xd->attr_tqmask, xd->attributes);
+ xd->attr_mask, xd->attributes);
if (!xd->fixedcolormap && params->privatecolormap) {
unsigned long pixels[256];
int i;
diff --git a/kscd/kscdmagic/xlib.h b/kscd/kscdmagic/xlib.h
index 00b6242e..73113292 100644
--- a/kscd/kscdmagic/xlib.h
+++ b/kscd/kscdmagic/xlib.h
@@ -66,9 +66,9 @@ typedef struct {
int depth;
unsigned int classX;
Visual *visual;
- unsigned long valuetqmask;
+ unsigned long valuemask;
XSetWindowAttributes *attributes;
- unsigned long attr_tqmask;
+ unsigned long attr_mask;
XSizeHints sizehints;
int screen;
const char *window_name;