From 3e7b4478ee8fdfd5c255723c006ac9292582e747 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Sep 2003 09:12:42 +0000 Subject: track the maximum margin of menu items. use this to keep icons in the menus inside the bevel/borders of the menu items --- openbox/menuframe.h | 1 + 1 file changed, 1 insertion(+) (limited to 'openbox/menuframe.h') diff --git a/openbox/menuframe.h b/openbox/menuframe.h index f8a1da82..34041149 100644 --- a/openbox/menuframe.h +++ b/openbox/menuframe.h @@ -39,6 +39,7 @@ struct _ObMenuFrame /* On-screen area (including borders!) */ Rect area; + Strut item_margin; gint inner_w; /* inside the borders */ gint title_h; /* includes the bwidth below it */ gint item_h; /* height of all normal items */ -- cgit v1.2.3