projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64befef
)
Call m_menumgr->deletingMenu from quitMenu in addition to destructor
author
Kahrl
<kahrl@gmx.net>
Sun, 2 Jun 2013 15:53:20 +0000
(17:53 +0200)
committer
Kahrl
<kahrl@gmx.net>
Mon, 3 Jun 2013 13:25:48 +0000
(15:25 +0200)
This fixes the bug where noMenuActive() keeps returning false after
closing a menu until the mouse is moved, rendering the keyboard
unusable (the_game calls input->clear() every frame when
noMenuActive() is false).
src/modalMenu.h
patch
|
blob
|
history
diff --git
a/src/modalMenu.h
b/src/modalMenu.h
index d19b4e27cb4d33e0966d7313cbd08a9e0b6e2053..62bfabc06b7c9818bc4b6538b3d1db253c58631c 100644
(file)
--- a/
src/modalMenu.h
+++ b/
src/modalMenu.h
@@
-99,6
+99,7
@@
public:
allowFocusRemoval(true);
// This removes Environment's grab on us
Environment->removeFocus(this);
+ m_menumgr->deletingMenu(this);
this->remove();
}