From 821ccf4576331738572aa422cfb686beb92c2c97 Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Thu, 13 Feb 2020 18:55:04 +0100 Subject: [PATCH] #127 .. --- src/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message.c b/src/message.c index 71c11a24..297db09f 100644 --- a/src/message.c +++ b/src/message.c @@ -1365,7 +1365,7 @@ static void handle_domain_space(FILE *rsp, struct token domain, char *message) space_manager_move_space_after_space(acting_sid, selector.sid, acting_sid == space_manager_active_space()); space_manager_move_space_after_space(selector.sid, acting_prev_sid, false); } else if (!acting_sid_is_first && !selector_sid_is_first) { - if (space_manager_mission_control_index(acting_sid) > space_manager_mission_control_index(selector.sid)) { + if (acting_mci > selector_mci) { space_manager_move_space_after_space(selector.sid, acting_sid, false); space_manager_move_space_after_space(acting_sid, selector_prev_sid, acting_sid == space_manager_active_space()); } else {