aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 08a87ab..2c7103b 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -3834,7 +3834,18 @@ void FluxboxWindow::setupWindow() {
3834 WinButton::SHADE, 3834 WinButton::SHADE,
3835 frame().titlebar(), 3835 frame().titlebar(),
3836 0, 0, 10, 10); 3836 0, 0, 10, 10);
3837 stateSig().attach(winbtn);
3837 winbtn->setOnClick(shade_cmd); 3838 winbtn->setOnClick(shade_cmd);
3839 newbutton = winbtn;
3840 } else if ((*dir)[i] == Fluxbox::MENUICON) {
3841 WinButton* winbtn = new WinButton(*this, winbutton_theme,
3842 WinButton::MENUICON,
3843 frame().titlebar(),
3844 0, 0, 10, 10);
3845 hintSig().attach(winbtn);
3846 titleSig().attach(winbtn);
3847 winbtn->setOnClick(show_menu_cmd);
3848 newbutton = winbtn;
3838 } 3849 }
3839 3850
3840 if (newbutton != 0) { 3851 if (newbutton != 0) {