aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-06-24 13:11:27 (GMT)
committersimonb <simonb>2006-06-24 13:11:27 (GMT)
commit1d0b23bd020c9185dc9cbf8952ab97a27f061be0 (patch)
tree90cb1dbe339ec4edbac9bd6a55b910ccc3e73e77 /src/FbTk/Menu.cc
parent5fc5ec3374ad903cdf6a2c6b30ce7d8de54d087b (diff)
downloadfluxbox_pavel-1d0b23bd020c9185dc9cbf8952ab97a27f061be0.zip
fluxbox_pavel-1d0b23bd020c9185dc9cbf8952ab97a27f061be0.tar.bz2
fix disappearing menu selection boxes
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r--src/FbTk/Menu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index b0e5c4e..b067361 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -470,11 +470,11 @@ void Menu::updateMenu(int active_index) {
470 470
471 if (!theme().selectedPixmap().pixmap().drawable()) { 471 if (!theme().selectedPixmap().pixmap().drawable()) {
472 int hw = theme().itemHeight() / 2; 472 int hw = theme().itemHeight() / 2;
473 m_theme.setSelectedPixmap(m_image_ctrl.renderImage(hw, hw, theme().hiliteTexture())); 473 m_theme.setSelectedPixmap(m_image_ctrl.renderImage(hw, hw, theme().hiliteTexture()), true);
474 474
475 if (!theme().highlightSelectedPixmap().pixmap().drawable()) { 475 if (!theme().highlightSelectedPixmap().pixmap().drawable()) {
476 int hw = theme().itemHeight() / 2; 476 int hw = theme().itemHeight() / 2;
477 m_theme.setHighlightSelectedPixmap(m_image_ctrl.renderImage(hw, hw, theme().frameTexture())); 477 m_theme.setHighlightSelectedPixmap(m_image_ctrl.renderImage(hw, hw, theme().frameTexture()), true);
478 } 478 }
479 } 479 }
480 480