Skip to content

Commit 1a727ac

Browse files
committed
Fix always closing
1 parent 413b048 commit 1a727ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Widgets/MultitaskingView/WorkspaceClone.vala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,10 @@ public class Gala.WorkspaceClone : ActorTarget {
325325
}
326326

327327
private void activate (bool close_view) {
328-
workspace.activate (Meta.CURRENT_TIME);
329328
if (close_view && workspace.active) {
330329
wm.perform_action (SHOW_MULTITASKING_VIEW);
330+
} else {
331+
workspace.activate (Meta.CURRENT_TIME);
331332
}
332333
}
333334
}

0 commit comments

Comments
 (0)