summaryrefslogtreecommitdiff
path: root/openbox/popup.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-05 15:57:27 +0000
committerDana Jansens <danakj@orodu.net>2007-06-05 15:57:27 +0000
commit8349e4ca6ba679a6a43cd56a282502eacafc580d (patch)
tree22c7afbafb3c567e75fb1bec39d823bfbf479f62 /openbox/popup.c
parentaca8327244e0e1ebc4e367a57339ff2dc944782c (diff)
add osd border stuff
Diffstat (limited to 'openbox/popup.c')
-rw-r--r--openbox/popup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbox/popup.c b/openbox/popup.c
index 86d4fb4d..6099edcb 100644
--- a/openbox/popup.c
+++ b/openbox/popup.c
@@ -51,9 +51,9 @@ ObPopup *popup_new()
0, 0, 1, 1, 0, RrDepth(ob_rr_inst),
InputOutput, RrVisual(ob_rr_inst), 0, NULL);
- XSetWindowBorderWidth(ob_display, self->bg, ob_rr_theme->fbwidth);
+ XSetWindowBorderWidth(ob_display, self->bg, ob_rr_theme->obwidth);
XSetWindowBorder(ob_display, self->bg,
- RrColorPixel(ob_rr_theme->frame_focused_border_color));
+ RrColorPixel(ob_rr_theme->osd_border_color));
XMapWindow(ob_display, self->text);
@@ -355,7 +355,7 @@ static void pager_popup_draw_icon(gint px, gint py, gint w, gint h,
gint eachw, eachh;
const guint cols = screen_desktop_layout.columns;
const guint rows = screen_desktop_layout.rows;
- const gint linewidth = ob_rr_theme->fbwidth;
+ const gint linewidth = ob_rr_theme->obwidth;
eachw = (w - ((cols + 1) * linewidth)) / cols;
eachh = (h - ((rows + 1) * linewidth)) / rows;
@@ -500,9 +500,9 @@ void pager_popup_delay_show(ObPagerPopup *self, gulong usec,
XSetWindowAttributes attr;
attr.border_pixel =
- RrColorPixel(ob_rr_theme->frame_focused_border_color);
+ RrColorPixel(ob_rr_theme->osd_border_color);
self->wins[i] = XCreateWindow(ob_display, self->popup->bg,
- 0, 0, 1, 1, ob_rr_theme->fbwidth,
+ 0, 0, 1, 1, ob_rr_theme->obwidth,
RrDepth(ob_rr_inst), InputOutput,
RrVisual(ob_rr_inst), CWBorderPixel,
&attr);