aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.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/fluxbox.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/fluxbox.cc')
-rw-r--r--src/fluxbox.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 1eea987..11df79c 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.21 2002/01/18 01:23:54 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.22 2002/01/18 18:28:17 pekdon Exp $
26 26
27// stupid macros needed to access some functions in version 2 of the GNU C 27// stupid macros needed to access some functions in version 2 of the GNU C
28// library 28// library
@@ -1154,10 +1154,15 @@ void Fluxbox::doWindowAction(Keys::KeyAction action) {
1154 focused_window->iconify(); 1154 focused_window->iconify();
1155 break; 1155 break;
1156 case Keys::RAISE: 1156 case Keys::RAISE:
1157 focused_window->getScreen()->getWorkspace(focused_window->getWorkspaceNumber())->raiseWindow(focused_window); 1157 if (focused_window->hasTab())
1158 focused_window->getTab()->raise(); //raise the tabs if we have any
1159 focused_window->getScreen()->getWorkspace(focused_window->getWorkspaceNumber())->raiseWindow(focused_window);
1158 break; 1160 break;
1159 case Keys::LOWER: 1161 case Keys::LOWER:
1160 XLowerWindow(getXDisplay(), focused_window->getFrameWindow()); 1162 focused_window->getScreen()->getWorkspace(focused_window->getWorkspaceNumber())->lowerWindow(focused_window);
1163 if (focused_window->hasTab())
1164 focused_window->getTab()->lower(); //lower the tabs AND it's windows
1165
1161 break; 1166 break;
1162 case Keys::CLOSE: 1167 case Keys::CLOSE:
1163 focused_window->close(); 1168 focused_window->close();