mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
window_set_active() doesn't anymore send "window changed" signal if
window is being set to NULL. Restoring /LAYOUT SAVEd split windows crashed at startup because of this. Maybe it shouldn't change the window to NULL? Well, at least I got it to work at all... :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1322 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7423df6aa8
commit
7118830573
@ -144,7 +144,8 @@ void window_set_active(WINDOW_REC *window)
|
|||||||
windows = g_slist_prepend(windows, active_win);
|
windows = g_slist_prepend(windows, active_win);
|
||||||
}
|
}
|
||||||
|
|
||||||
signal_emit("window changed", 2, active_win, old_window);
|
if (active_win != NULL)
|
||||||
|
signal_emit("window changed", 2, active_win, old_window);
|
||||||
}
|
}
|
||||||
|
|
||||||
void window_change_server(WINDOW_REC *window, void *server)
|
void window_change_server(WINDOW_REC *window, void *server)
|
||||||
|
Loading…
Reference in New Issue
Block a user