mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
/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:
parent
ce0bd80b05
commit
80793ace1c
3 changed files with 66 additions and 56 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue