From ecefdc6171b02bf5d38e069c8b5fcca92fb19797 Mon Sep 17 00:00:00 2001 From: id Date: Sun, 17 Dec 2000 04:26:53 +0000 Subject: [PATCH] fix tiny thing --- src/framewin.c | 3 +++ src/plugin.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/framewin.c b/src/framewin.c index 72d43ad1..049e22ce 100644 --- a/src/framewin.c +++ b/src/framewin.c @@ -994,12 +994,15 @@ wFrameWindowPaint(WFrameWindow *fwin) DefaultDepth(dpy, DefaultScreen(dpy))); XFillRectangle(dpy, tmp_bg, (*fwin->title_texture)->solid.normal_gc, 0, 0, fwin->titlebar->width, tb); + printf("bevel 1 %s\n", fwin->title); wDrawBevel(tmp_bg, fwin->titlebar->width, fwin->titlebar->height, (WTexSolid*)fwin->title_texture[fwin->flags.state], WREL_RAISED); + XDrawLine(dpy, tmp_bg, fwin->resizebar_texture[0]->dim_gc, 0, 0, w, tb); background = &tmp_bg; } else { + printf("bevel 2\n"); wDrawBevel(fwin->titlebar->window, fwin->titlebar->width, fwin->titlebar->height, (WTexSolid*)fwin->title_texture[fwin->flags.state], diff --git a/src/plugin.h b/src/plugin.h index 6f865e29..94e803d3 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -76,8 +76,10 @@ typedef struct _WFunction { _DL_FreeDataProc *freeData; union { _DL_AnyProc **any; +#ifdef DRAWSTRING_PLUGIN _DL_DrawStringProc **drawString; _DL_WidthStringProc **widthOfString; +#endif } proc; /* char *libraryName;