/WINDOW STICK changes - If ref# is given and it's in another split window,

it's moved to the active split window - even if the window was already
sticky in the other one.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1702 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-08-03 23:39:35 +00:00 committed by cras
commit 80793ace1c
3 changed files with 66 additions and 56 deletions

View file

@ -103,11 +103,14 @@ static void gui_window_destroyed(WINDOW_REC *window)
signal_emit("gui window destroyed", 1, window);
parent->sticky_windows =
g_slist_remove(parent->sticky_windows, window);
gui_window_deinit(gui);
window->gui_data = NULL;
if (parent->active == window && mainwindows->next != NULL)
mainwindow_destroy(parent);
if (parent->active == window)
mainwindow_change_active(parent, window);
}
void gui_window_resize(WINDOW_REC *window, int width, int height)