From: Dana Jansens Date: Tue, 24 Jun 2003 19:33:24 +0000 (+0000) Subject: position submenus correctly horizontally X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=a385702349988828d34e1018900ce642666434e0;p=chaz%2Fopenbox position submenus correctly horizontally --- diff --git a/openbox/menu.c b/openbox/menu.c index 29e6677d..b67b76a6 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -408,7 +408,7 @@ void menu_control_mouseover(MenuEntry *self, gboolean enter) { /* TODO: I don't understand why these bevels should be here. Something must be wrong in the width calculation */ x = self->parent->location.x + self->parent->size.width + - ob_rr_theme->bevel; + ob_rr_theme->bwidth; /* need to get the width. is this bad?*/ menu_render(self->submenu);