We need to move the urgent flag when moving a container across
workspaces before calling on_remove_child on the parent in order
to avoid a crash.
fixes #2128
startup_sequence_delete(sequence);
}
- CALL(parent, on_remove_child);
-
/* 9. If the container was marked urgent, move the urgency hint. */
if (urgent) {
workspace_update_urgent_flag(source_ws);
con_set_urgency(con, true);
}
+ CALL(parent, on_remove_child);
+
ipc_send_window_event("move", con);
return true;
}