GList *it;
XSetWindowBorder(ob_display, dock->frame,
- RrColorPixel(ob_rr_theme->
- frame_focused_border_color));
- XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->fbwidth);
+ RrColorPixel(ob_rr_theme->osd_border_color));
+ XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->obwidth);
RrAppearanceFree(dock->a_frame);
- dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_focused_title);
+ dock->a_frame = RrAppearanceCopy(ob_rr_theme->osd_hilite_bg);
stacking_add(DOCK_AS_WINDOW(dock));
RrVisual(ob_rr_inst),
CWOverrideRedirect | CWEventMask,
&attrib);
- dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_focused_title);
+ dock->a_frame = RrAppearanceCopy(ob_rr_theme->osd_hilite_bg);
XSetWindowBorder(ob_display, dock->frame,
- RrColorPixel(ob_rr_theme->frame_focused_border_color));
- XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->fbwidth);
+ RrColorPixel(ob_rr_theme->osd_border_color));
+ XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->obwidth);
g_hash_table_insert(window_map, &dock->frame, dock);
stacking_add(DOCK_AS_WINDOW(dock));
}
/* used for calculating offsets */
- dock->w += ob_rr_theme->fbwidth * 2;
- dock->h += ob_rr_theme->fbwidth * 2;
+ dock->w += ob_rr_theme->obwidth * 2;
+ dock->h += ob_rr_theme->obwidth * 2;
a = screen_physical_area();
case OB_DIRECTION_NORTHWEST:
switch (config_dock_orient) {
case OB_ORIENTATION_HORZ:
- dock->y -= dock->h - ob_rr_theme->fbwidth;
+ dock->y -= dock->h - ob_rr_theme->obwidth;
break;
case OB_ORIENTATION_VERT:
- dock->x -= dock->w - ob_rr_theme->fbwidth;
+ dock->x -= dock->w - ob_rr_theme->obwidth;
break;
}
break;
case OB_DIRECTION_NORTH:
- dock->y -= dock->h - ob_rr_theme->fbwidth;
+ dock->y -= dock->h - ob_rr_theme->obwidth;
break;
case OB_DIRECTION_NORTHEAST:
switch (config_dock_orient) {
case OB_ORIENTATION_HORZ:
- dock->y -= dock->h - ob_rr_theme->fbwidth;
+ dock->y -= dock->h - ob_rr_theme->obwidth;
break;
case OB_ORIENTATION_VERT:
- dock->x += dock->w - ob_rr_theme->fbwidth;
+ dock->x += dock->w - ob_rr_theme->obwidth;
break;
}
break;
case OB_DIRECTION_WEST:
- dock->x -= dock->w - ob_rr_theme->fbwidth;
+ dock->x -= dock->w - ob_rr_theme->obwidth;
break;
case OB_DIRECTION_EAST:
- dock->x += dock->w - ob_rr_theme->fbwidth;
+ dock->x += dock->w - ob_rr_theme->obwidth;
break;
case OB_DIRECTION_SOUTHWEST:
switch (config_dock_orient) {
case OB_ORIENTATION_HORZ:
- dock->y += dock->h - ob_rr_theme->fbwidth;
+ dock->y += dock->h - ob_rr_theme->obwidth;
break;
case OB_ORIENTATION_VERT:
- dock->x -= dock->w - ob_rr_theme->fbwidth;
+ dock->x -= dock->w - ob_rr_theme->obwidth;
break;
} break;
case OB_DIRECTION_SOUTH:
- dock->y += dock->h - ob_rr_theme->fbwidth;
+ dock->y += dock->h - ob_rr_theme->obwidth;
break;
case OB_DIRECTION_SOUTHEAST:
switch (config_dock_orient) {
case OB_ORIENTATION_HORZ:
- dock->y += dock->h - ob_rr_theme->fbwidth;
+ dock->y += dock->h - ob_rr_theme->obwidth;
break;
case OB_ORIENTATION_VERT:
- dock->x += dock->w - ob_rr_theme->fbwidth;
+ dock->x += dock->w - ob_rr_theme->obwidth;
break;
}
break;
}
if (!config_dock_floating && config_dock_hide) {
- strw = ob_rr_theme->fbwidth;
- strh = ob_rr_theme->fbwidth;
+ strw = ob_rr_theme->obwidth;
+ strh = ob_rr_theme->obwidth;
} else {
strw = dock->w;
strh = dock->h;
dock->h += minh;
/* not used for actually sizing shit */
- dock->w -= ob_rr_theme->fbwidth * 2;
- dock->h -= ob_rr_theme->fbwidth * 2;
+ dock->w -= ob_rr_theme->obwidth * 2;
+ dock->h -= ob_rr_theme->obwidth * 2;
if (dock->dock_apps) {
g_assert(dock->w > 0);
XUnmapWindow(ob_display, dock->frame);
/* but they are useful outside of this function! */
- dock->w += ob_rr_theme->fbwidth * 2;
- dock->h += ob_rr_theme->fbwidth * 2;
+ dock->w += ob_rr_theme->obwidth * 2;
+ dock->h += ob_rr_theme->obwidth * 2;
screen_update_areas();
}