position submenus correctly horizontally

This commit is contained in:
Dana Jansens 2003-06-24 19:33:24 +00:00
parent b61a41c6b1
commit a385702349

View file

@ -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);