aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 3c8f87b..747c909 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -3613,15 +3613,16 @@ void FluxboxWindow::updateButtons() {
3613 } 3613 }
3614 break; 3614 break;
3615 case WinButton::MENUICON: 3615 case WinButton::MENUICON:
3616 winbtn = new WinButton(*this, m_button_theme, 3616 if (m_state.deco_mask & WindowState::DECORM_MENU) {
3617 screen().pressedWinButtonTheme(), 3617 winbtn = new WinButton(*this, m_button_theme,
3618 dir[i], 3618 screen().pressedWinButtonTheme(),
3619 frame().titlebar(), 3619 dir[i],
3620 0, 0, 10, 10); 3620 frame().titlebar(),
3621 winbtn->join(titleSig(), 3621 0, 0, 10, 10);
3622 winbtn->join(titleSig(),
3622 FbTk::MemFunIgnoreArgs(*winbtn, &WinButton::updateAll)); 3623 FbTk::MemFunIgnoreArgs(*winbtn, &WinButton::updateAll));
3623 3624 winbtn->setOnClick(show_menu_cmd);
3624 winbtn->setOnClick(show_menu_cmd); 3625 }
3625 break; 3626 break;
3626 } 3627 }
3627 3628