Skip to content

Commit

Permalink
fix(DWindowManagerHelper): return currentWorkspaceWindows is empty
Browse files Browse the repository at this point in the history
Change-Id: I6a59b08887441198828f91235c7e5b9fdcea5af3
  • Loading branch information
justforlxz committed Dec 21, 2018
1 parent b071744 commit ec478aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/dwindowmanagerhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ QList<DForeignWindow *> DWindowManagerHelper::currentWorkspaceWindows() const
currentApplicationWindowList.reserve(list.size());

for (auto window : list) {
if (window->property("_q_foreignWinId").isValid()) continue;

currentApplicationWindowList.append(window->winId());
}

Expand Down

0 comments on commit ec478aa

Please sign in to comment.