diff --git a/WINGs/Tests/wtest.c b/WINGs/Tests/wtest.c index 128b9bc4..a6b3c148 100644 --- a/WINGs/Tests/wtest.c +++ b/WINGs/Tests/wtest.c @@ -337,6 +337,9 @@ testGradientButtons(WMScreen *scr) WMSetWindowTitle(win, "Gradiented Button Demo"); WMResizeWidget(win, 300, 200); + WMSetWindowCloseAction(win, closeAction, NULL); + + light.red = 0x90; light.green = 0x85; light.blue = 0x90; diff --git a/WINGs/wtabview.c b/WINGs/wtabview.c index 674eefa6..543527fd 100644 --- a/WINGs/wtabview.c +++ b/WINGs/wtabview.c @@ -660,7 +660,7 @@ drawTab(TabView *tPtr, Drawable d, int x, int y, XDrawLine(dpy, d, white, trap[1].x, trap[1].y, trap[2].x, trap[2].y); XDrawLine(dpy, d, white, trap[2].x, trap[2].y, trap[3].x, trap[3].y); XDrawLine(dpy, d, white, trap[3].x, trap[3].y, trap[4].x, trap[4].y); - XDrawLine(dpy, d, dark, trap[4].x, trap[4].y, trap[5].x, trap[5].y); + XDrawLine(dpy, d, dark, trap[4].x, trap[4].y, trap[5].x, trap[5].y); XDrawLine(dpy, d, black, trap[5].x, trap[5].y, trap[6].x, trap[6].y); XDrawLine(dpy, d, black, trap[6].x, trap[6].y, trap[7].x, trap[7].y); diff --git a/src/dock.c b/src/dock.c index 1791e079..453a1c9e 100644 --- a/src/dock.c +++ b/src/dock.c @@ -1305,13 +1305,15 @@ wClipIconPaint(WAppIcon *aicon) tx = CLIP_BUTTON_SIZE*ICON_SIZE/64; WMDrawString(scr->wmscreen, win, gc, scr->clip_title_font, tx, - ty, ws_name, length); + ty, ws_name, length); + /*WMDrawString(scr->wmscreen, win, gc, scr->clip_title_font, 4, + 2, ws_name, length);*/ tx = (ICON_SIZE/2 - WMWidthOfString(scr->clip_title_font, ws_number, nlength))/2; WMDrawString(scr->wmscreen, win, gc, scr->clip_title_font, tx, - 2, ws_number, nlength); + 2, ws_number, nlength); wfree(ws_name);