From: Dana Jansens Date: Sat, 11 Oct 2003 06:47:29 +0000 (+0000) Subject: use RrColorPixel X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=377d20e7bf2e8eb4bc79d83311f2c81a1f99bc2b;p=chaz%2Fopenbox use RrColorPixel --- diff --git a/openbox/frame.c b/openbox/frame.c index ec7464a1..93263e27 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -122,11 +122,16 @@ ObFrame *frame_new() static void set_theme_statics(ObFrame *self) { /* set colors/appearance/sizes for stuff that doesn't change */ - XSetWindowBorder(ob_display, self->window, ob_rr_theme->b_color->pixel); - XSetWindowBorder(ob_display, self->title, ob_rr_theme->b_color->pixel); - XSetWindowBorder(ob_display, self->handle, ob_rr_theme->b_color->pixel); - XSetWindowBorder(ob_display, self->rgrip, ob_rr_theme->b_color->pixel); - XSetWindowBorder(ob_display, self->lgrip, ob_rr_theme->b_color->pixel); + XSetWindowBorder(ob_display, self->window, + RrColorPixel(ob_rr_theme->b_color)); + XSetWindowBorder(ob_display, self->title, + RrColorPixel(ob_rr_theme->b_color)); + XSetWindowBorder(ob_display, self->handle, + RrColorPixel(ob_rr_theme->b_color)); + XSetWindowBorder(ob_display, self->rgrip, + RrColorPixel(ob_rr_theme->b_color)); + XSetWindowBorder(ob_display, self->lgrip, + RrColorPixel(ob_rr_theme->b_color)); XResizeWindow(ob_display, self->max, ob_rr_theme->button_size, ob_rr_theme->button_size);