Bugfix: Invalidate focused_id to correctly focus new windows with the same ID

next
Michael Stapelberg 2010-12-11 17:03:53 +01:00
parent 87cffac03a
commit 8d5421e6a4
1 changed files with 3 additions and 0 deletions

View File

@ -168,6 +168,9 @@ void x_con_kill(Con *con) {
state = state_for_frame(con->frame);
CIRCLEQ_REMOVE(&state_head, state, state);
CIRCLEQ_REMOVE(&old_state_head, state, old_state);
/* Invalidate focused_id to correctly focus new windows with the same ID */
focused_id = XCB_NONE;
}
/*