diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2013-02-05 00:19:58 +0100 |
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2013-02-05 00:19:58 +0100 |
| commit | 5223112fa73ed3e7551c0e1339d50f46b0c2c3b4 (patch) | |
| tree | 451e01dd3ff2c20a09909c9c77ba78b64ec39eeb | |
| parent | b6fc71dea4632bea3d9d81c9e8fb36cb20368295 (diff) | |
| parent | e4934426bc779c428eda7221b297b3571f5f6411 (diff) | |
Merged improve-standalone-window-manager into alt-to-scroll.
(bzr r3096.4.3)
| -rw-r--r-- | unity-shared/StandaloneWindowManager.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unity-shared/StandaloneWindowManager.cpp b/unity-shared/StandaloneWindowManager.cpp index 972a86ac7..d625e8328 100644 --- a/unity-shared/StandaloneWindowManager.cpp +++ b/unity-shared/StandaloneWindowManager.cpp @@ -107,7 +107,11 @@ StandaloneWindow::Ptr StandaloneWindowManager::GetWindowByXid(Window window_id) std::vector<Window> StandaloneWindowManager::GetWindowsInStackingOrder() const { - return standalone_windows_; + std::vector<Window> ret; + for (auto const& window : standalone_windows_) + ret.push_back(window->id()); + + return ret; } bool StandaloneWindowManager::IsWindowMaximized(Window window_id) const |
