diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2013-02-05 00:19:55 +0100 |
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2013-02-05 00:19:55 +0100 |
| commit | e4934426bc779c428eda7221b297b3571f5f6411 (patch) | |
| tree | 9668d397118c937b99e656773f1cd4c0decbdb49 | |
| parent | be64f5c5d02577d39b4ac881061685a9cd609b0c (diff) | |
Fix stupid error.
(bzr r3096.3.4)
| -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 |
