@@ -60,11 +60,9 @@ Item {
60 var surface = drag.source.surface;
60 var surface = drag.source.surface;
61 drag.source.surface = null;
61 drag.source.surface = null;
62 var workspace = listView.model.get(listView.hoveredWorkspaceIndex);
62 var workspace = listView.model.get(listView.hoveredWorkspaceIndex);
63− print("dropping surface", surface, "on workspace", workspace)
64 WorkspaceManager.moveSurfaceToWorkspace(surface, workspace);
63 WorkspaceManager.moveSurfaceToWorkspace(surface, workspace);
65 drop.accept(Qt.MoveAction)
64 drop.accept(Qt.MoveAction)
66 listView.hoveredWorkspaceIndex = -1
65 listView.hoveredWorkspaceIndex = -1
67− root.commitScreenSetup();
@@ -198,6 +196,7 @@ Item {
198 background: root.background
196 background: root.background
199 screenHeight: screen.availableModes[screen.currentModeIndex].size.height
197 screenHeight: screen.availableModes[screen.currentModeIndex].size.height
200 containsDrag: listView.hoveredWorkspaceIndex == index
198 containsDrag: listView.hoveredWorkspaceIndex == index
199+ isActive: model.workspace.active
202 MouseArea {
201 MouseArea {
203 anchors.fill: parent
202 anchors.fill: parent