[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-workspace] kwin: support tabs in directional window switching shortcuts
From: Thomas_Lübking <thomas.luebking () gmail ! com>
Date: 2012-04-30 20:38:03
Message-ID: 20120430203803.433E9A60BE () git ! kde ! org
[Download RAW message or body]
Git commit ef5659020ca4bac332e1d7d3bb8a42feb64d515c by Thomas Lübking.
Committed on 16/03/2012 at 00:13.
Pushed by luebking into branch 'master'.
support tabs in directional window switching shortcuts
BUG: 296096
REVIEW: 104293
FIXED-IN: 4.9
M +4 -1 kwin/useractions.cpp
http://commits.kde.org/kde-workspace/ef5659020ca4bac332e1d7d3bb8a42feb64d515c
diff --git a/kwin/useractions.cpp b/kwin/useractions.cpp
index d258fe0..e137511 100644
--- a/kwin/useractions.cpp
+++ b/kwin/useractions.cpp
@@ -1522,8 +1522,11 @@ void Workspace::switchWindow(Direction direction)
}
}
}
- if (switchTo)
+ if (switchTo) {
+ if (switchTo->tabGroup())
+ switchTo = switchTo->tabGroup()->current();
activateClient(switchTo);
+ }
}
/*!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic