aboutsummaryrefslogtreecommitdiff
path: root/src/Windowmenu.cc
diff options
context:
space:
mode:
authorpekdon <pekdon>2002-01-18 18:28:17 (GMT)
committerpekdon <pekdon>2002-01-18 18:28:17 (GMT)
commit74454c8f2a8f1fcae493930a5a00cafab0959a4c (patch)
tree15a8d903952bfe9cbc984ba9bf459b459debe172 /src/Windowmenu.cc
parentb0d1c04c119711167fccd1b30e266269a0e2262c (diff)
downloadfluxbox_pavel-74454c8f2a8f1fcae493930a5a00cafab0959a4c.zip
fluxbox_pavel-74454c8f2a8f1fcae493930a5a00cafab0959a4c.tar.bz2
Fixed lower/raise of windows when using keybindings/windowmenu
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: