Merge pull request #2132 from Airblader/bug-2128
Move urgent flag before killing the parent.
This commit is contained in:
commit
fcb25f0232
@ -1040,14 +1040,14 @@ static bool _con_move_to_con(Con *con, Con *target, bool behind_focused, bool fi
|
|||||||
startup_sequence_delete(sequence);
|
startup_sequence_delete(sequence);
|
||||||
}
|
}
|
||||||
|
|
||||||
CALL(parent, on_remove_child);
|
|
||||||
|
|
||||||
/* 9. If the container was marked urgent, move the urgency hint. */
|
/* 9. If the container was marked urgent, move the urgency hint. */
|
||||||
if (urgent) {
|
if (urgent) {
|
||||||
workspace_update_urgent_flag(source_ws);
|
workspace_update_urgent_flag(source_ws);
|
||||||
con_set_urgency(con, true);
|
con_set_urgency(con, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CALL(parent, on_remove_child);
|
||||||
|
|
||||||
ipc_send_window_event("move", con);
|
ipc_send_window_event("move", con);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user