diff options
Diffstat (limited to 'kscd/kscdmagic')
-rw-r--r-- | kscd/kscdmagic/xlib.c | 4 | ||||
-rw-r--r-- | kscd/kscdmagic/xlib.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kscd/kscdmagic/xlib.c b/kscd/kscdmagic/xlib.c index 6e1c1ed2..530336cf 100644 --- a/kscd/kscdmagic/xlib.c +++ b/kscd/kscdmagic/xlib.c @@ -325,7 +325,7 @@ xdisplay *xalloc_display(const char *s, int xHint, int yHint, int x, int y, xlib xd->attr_tqmask = CWBackPixel | CWBorderPixel | CWEventMask; xd->classX = InputOutput; xd->xcolor.n = 0; - xd->tqparent_window = RootWindow(xd->display, xd->screen); + xd->parent_window = RootWindow(xd->display, xd->screen); defaultvisual = DefaultVisual(xd->display, xd->screen); xd->params = params; if (!params->usedefault) { @@ -403,7 +403,7 @@ xdisplay *xalloc_display(const char *s, int xHint, int yHint, int x, int y, xlib xd->lasty = 0; xd->font_struct = (XFontStruct *) NULL; - xd->window = XCreateWindow(xd->display, xd->tqparent_window, xHint, yHint, + 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); diff --git a/kscd/kscdmagic/xlib.h b/kscd/kscdmagic/xlib.h index fa079775..00b6242e 100644 --- a/kscd/kscdmagic/xlib.h +++ b/kscd/kscdmagic/xlib.h @@ -58,7 +58,7 @@ typedef struct { int privatecolormap; xlibparam *params; Display *display; - Window tqparent_window; + Window parent_window; Window window; unsigned int width, height; unsigned int border_width; |