aboutsummaryrefslogtreecommitdiff
path: root/src/Windowmenu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Windowmenu.cc')
-rw-r--r--src/Windowmenu.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Windowmenu.cc b/src/Windowmenu.cc
index c776981..dcf6bd6 100644
--- a/src/Windowmenu.cc
+++ b/src/Windowmenu.cc
@@ -200,12 +200,16 @@ void Windowmenu::itemSelected(int button, int index) {
200 200
201 case BScreen::WINDOWRAISE: 201 case BScreen::WINDOWRAISE:
202 hide(); 202 hide();
203 if (window->hasTab())
204 window->getTab()->raise(); //raise tabs
203 screen->getWorkspace(window->getWorkspaceNumber())->raiseWindow(window); 205 screen->getWorkspace(window->getWorkspaceNumber())->raiseWindow(window);
204 break; 206 break;
205 207
206 case BScreen::WINDOWLOWER: 208 case BScreen::WINDOWLOWER:
207 hide(); 209 hide();
208 screen->getWorkspace(window->getWorkspaceNumber())->lowerWindow(window); 210 screen->getWorkspace(window->getWorkspaceNumber())->lowerWindow(window);
211 if (window->hasTab())
212 window->getTab()->lower(); //lower tabs AND all it's windows
209 break; 213 break;
210 214
211 case BScreen::WINDOWSTICK: 215 case BScreen::WINDOWSTICK: