fix torn menus on exec
markt markt
2 files changed,
4 insertions(+),
2 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,6 +1,8 @@
(Format: Year/Month/Day) Changes for 1.0rc3: *06/07/26: + * Fixed torn menus so they don't close on exec items (Mark) + FbTk/Menu.cc * Updated pt_PT translations (Thanx Antonio Gomes) nls/pt_PT/Translation.m * Added resource and menu item for maximizing over external tabs (Mark)
M
src/FbTk/Menu.cc
→
src/FbTk/Menu.cc
@@ -564,7 +564,7 @@ while ((! p->m_torn) && p->m_parent && p->m_parent->isVisible())
p = p->m_parent; p->internal_hide(); - } else // if we dont have a parent then do hide here + } else if (!m_torn) // if we dont have a parent then do hide here internal_hide(); }@@ -898,7 +898,7 @@ }
} if (re.button == 3) - hide(); + internal_hide(); } else if (re.window == menu.frame) {