diff options
author | pekdon <pekdon> | 2002-01-05 17:55:53 (GMT) |
---|---|---|
committer | pekdon <pekdon> | 2002-01-05 17:55:53 (GMT) |
commit | 06c647d220fff7570706be430adcbc913d0dffa9 (patch) | |
tree | 4f7a6295748ce27483fb65ac7834b868bb5bfd64 /src | |
parent | d5eac398fc1930852e8e55c8d47a9d12e08e930b (diff) | |
download | fluxbox_lack-06c647d220fff7570706be430adcbc913d0dffa9.zip fluxbox_lack-06c647d220fff7570706be430adcbc913d0dffa9.tar.bz2 |
fixed a bug that made the tabs not to follow when shading
Diffstat (limited to 'src')
-rw-r--r-- | src/Windowmenu.cc | 5 |
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: |