aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpekdon <pekdon>2002-01-05 17:55:53 (GMT)
committerpekdon <pekdon>2002-01-05 17:55:53 (GMT)
commit06c647d220fff7570706be430adcbc913d0dffa9 (patch)
tree4f7a6295748ce27483fb65ac7834b868bb5bfd64 /src
parentd5eac398fc1930852e8e55c8d47a9d12e08e930b (diff)
downloadfluxbox-06c647d220fff7570706be430adcbc913d0dffa9.zip
fluxbox-06c647d220fff7570706be430adcbc913d0dffa9.tar.bz2
fixed a bug that made the tabs not to follow when shading
Diffstat (limited to 'src')
-rw-r--r--src/Windowmenu.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Windowmenu.cc b/src/Windowmenu.cc
index 613d6a4..e154ea6 100644
--- a/src/Windowmenu.cc
+++ b/src/Windowmenu.cc
@@ -177,9 +177,10 @@ void Windowmenu::itemSelected(int button, int index) {
177 switch (item->function()) { 177 switch (item->function()) {
178 case BScreen::WindowShade: 178 case BScreen::WindowShade:
179 hide(); 179 hide();
180 if (window->getTab()) 180
181 window->getTab()->shade();
182 window->shade(); 181 window->shade();
182 if (window->hasTab())
183 window->getTab()->shade();
183 break; 184 break;
184 185
185 case BScreen::WindowIconify: 186 case BScreen::WindowIconify: