]> git.sur5r.net Git - i3/i3/blobdiff - src/commands.c
Merge pull request #3254 from orestisf1993/issue-555
[i3/i3] / src / commands.c
index fb7b08bf579e6a7da4d04eae74ab0af4f15736f1..ad7d9770b7193c69c296fccc79650b577a2f925e 100644 (file)
@@ -2019,6 +2019,9 @@ void cmd_rename_workspace(I3_CMD, const char *old_name, const char *new_name) {
             LOG("Could not get output named \"%s\"\n", assignment->output);
             continue;
         }
+        if (!output_triggers_assignment(target_output, assignment)) {
+            continue;
+        }
         workspace_move_to_output(workspace, target_output);
 
         break;