fix torn menus on exec
This commit is contained in:
parent
e267064080
commit
0954a0b61d
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -564,7 +564,7 @@ void Menu::hide() {
|
|||
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 @@ void Menu::buttonReleaseEvent(XButtonEvent &re) {
|
|||
}
|
||||
|
||||
if (re.button == 3)
|
||||
hide();
|
||||
internal_hide();
|
||||
|
||||
} else if (re.window == menu.frame) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue