@@ -58,6 +58,7 @@ Item {
59 onDropped: {
59 onDropped: {
60 var surface = drag.source.surface;
60 var surface = drag.source.surface;
61+ drag.source.surface = null;
61 var workspace = listView.model.get(listView.hoveredWorkspaceIndex);
62 var workspace = listView.model.get(listView.hoveredWorkspaceIndex);
62 print("dropping surface", surface, "on workspace", workspace)
63 print("dropping surface", surface, "on workspace", workspace)
63 WorkspaceManager.moveSurfaceToWorkspace(surface, workspace);
64 WorkspaceManager.moveSurfaceToWorkspace(surface, workspace);