aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-08-28 19:03:09 (GMT)
committerrathnor <rathnor>2004-08-28 19:03:09 (GMT)
commit8a59b9b4541490badaf3e1a0503b4ca5f0105c8f (patch)
treeaa352791e820a1f96ef2c95b936533951e60784f /src/FbTk/Menu.cc
parentc4c67dafeb9165f394c1bae25604f97921a8ae7a (diff)
downloadfluxbox-8a59b9b4541490badaf3e1a0503b4ca5f0105c8f.zip
fluxbox-8a59b9b4541490badaf3e1a0503b4ca5f0105c8f.tar.bz2
couple of menu render fixes
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r--src/FbTk/Menu.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 95fa9ad..18c3b75 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Menu.cc,v 1.73 2004/08/28 14:25:52 rathnor Exp $ 25// $Id: Menu.cc,v 1.74 2004/08/28 19:03:09 rathnor Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -177,6 +177,7 @@ Menu::Menu(MenuTheme &tm, ImageControl &imgctrl):
177 177
178 menu.title.raise(); 178 menu.title.raise();
179 179
180 reconfigure();
180} 181}
181 182
182Menu::~Menu() { 183Menu::~Menu() {
@@ -389,6 +390,7 @@ void Menu::enterParent() {
389 if (submenu) 390 if (submenu)
390 submenu->internal_hide(); 391 submenu->internal_hide();
391 392
393 m_active_index = -1;
392 drawItem(which_press, 394 drawItem(which_press,
393 true, // clear 395 true, // clear
394 true); // transp 396 true); // transp