From cd12a2eae5b5b72df08d588ac71d1f6cf6725dfb Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 20 Jun 2003 02:17:23 +0000 Subject: simply the render interface by not requiring the setting of all the areas. only take a w and h in paint(). best font layout ever. --- openbox/dock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openbox/dock.c') diff --git a/openbox/dock.c b/openbox/dock.c index 934d3d03..82efe071 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -349,11 +349,10 @@ void dock_configure() dock->h -= theme_bwidth * 2; if (dock->w > 0 && dock->h > 0) { - RECT_SET(dock->a_frame->area, 0, 0, dock->w, dock->h); XMoveResizeWindow(ob_display, dock->frame, dock->x, dock->y, dock->w, dock->h); - paint(dock->frame, dock->a_frame); + paint(dock->frame, dock->a_frame, dock->w, dock->h); XMapWindow(ob_display, dock->frame); } else XUnmapWindow(ob_display, dock->frame); -- cgit v1.2.3