summaryrefslogtreecommitdiff
path: root/openbox/menuframe.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-11 22:18:43 +0000
committerDana Jansens <danakj@orodu.net>2007-05-11 22:18:43 +0000
commitb63ad92cca9f14a1d86c00bd76b52c1626a29ee3 (patch)
tree8634ba30a989b859f09113b7631b5053e3e18abe /openbox/menuframe.c
parentb2006b8b451f52ce274980b6b3cb626d1347da88 (diff)
give different border colors to active and inactive windows. adjust the xml theme format a little to make it BETTER. rawr. add some metadata standards too.
Diffstat (limited to 'openbox/menuframe.c')
-rw-r--r--openbox/menuframe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 313bd6cf..5782b7ac 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -89,7 +89,7 @@ ObMenuFrame* menu_frame_new(ObMenu *menu, guint show_from, ObClient *client)
XSetWindowBorderWidth(ob_display, self->window, ob_rr_theme->mbwidth);
XSetWindowBorder(ob_display, self->window,
- RrColorPixel(ob_rr_theme->menu_b_color));
+ RrColorPixel(ob_rr_theme->menu_border_color));
self->a_title = RrAppearanceCopy(ob_rr_theme->a_menu_title);
self->a_items = RrAppearanceCopy(ob_rr_theme->a_menu);
@@ -689,7 +689,7 @@ void menu_frame_render(ObMenuFrame *self)
XMoveWindow(ob_display, e->window, e->area.x-e->border, e->area.y-e->border);
XSetWindowBorderWidth(ob_display, e->window, e->border);
XSetWindowBorder(ob_display, e->window,
- RrColorPixel(ob_rr_theme->menu_b_color));
+ RrColorPixel(ob_rr_theme->menu_border_color));
text_a = (e->entry->type == OB_MENU_ENTRY_TYPE_NORMAL &&