X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fdock.c;h=9a03d75c63b5cc7ead230f818b4d0da91e9e9018;hb=0f677834e253dfd18a246c8811bf4a4e364d5e0e;hp=70e1127290657c54558e6ce23bbae33ccdf5c4be;hpb=939fbcfd31e07a6e0f1cdbfcef9b04f63e6af700;p=chaz%2Fopenbox diff --git a/openbox/dock.c b/openbox/dock.c index 70e11272..9a03d75c 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -2,7 +2,7 @@ dock.c for the Openbox window manager Copyright (c) 2006 Mikael Magnusson - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -57,7 +57,8 @@ void dock_startup(gboolean reconfig) GList *it; XSetWindowBorder(ob_display, dock->frame, - RrColorPixel(ob_rr_theme->frame_b_color)); + RrColorPixel(ob_rr_theme-> + frame_focused_border_color)); XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->fbwidth); RrAppearanceFree(dock->a_frame); @@ -91,7 +92,7 @@ void dock_startup(gboolean reconfig) &attrib); dock->a_frame = RrAppearanceCopy(ob_rr_theme->a_focused_title); XSetWindowBorder(ob_display, dock->frame, - RrColorPixel(ob_rr_theme->frame_b_color)); + RrColorPixel(ob_rr_theme->frame_focused_border_color)); XSetWindowBorderWidth(ob_display, dock->frame, ob_rr_theme->fbwidth); g_hash_table_insert(window_map, &dock->frame, dock); @@ -220,7 +221,7 @@ void dock_configure() gint strw, strh; Rect *a; - RrMinsize(dock->a_frame, &minw, &minh); + RrMinSize(dock->a_frame, &minw, &minh); dock->w = dock->h = 0; @@ -413,7 +414,8 @@ void dock_configure() if (!dock->dock_apps) { STRUT_PARTIAL_SET(dock_strut, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); - } else if (config_dock_floating || config_dock_nostrut) { + } else if (config_dock_floating || config_dock_nostrut) + { STRUT_PARTIAL_SET(dock_strut, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); } else {