diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2007-04-05 18:25:29 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2007-04-05 18:25:29 +0000 |
commit | 827696bbb9b08b6941cf96f070126d704124b68e (patch) | |
tree | 36942722c1c919eacd74eb1c7c3e30de376d4dd6 /src/fe-text/mainwindows.c | |
parent | 760e102d44c8401b2fc233802263beb920d69040 (diff) | |
download | irssi-827696bbb9b08b6941cf96f070126d704124b68e.zip |
Forbid "window show" when the target window is sticky rather than when there is
at least one window bound to the container of the target window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4436 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/mainwindows.c')
-rw-r--r-- | src/fe-text/mainwindows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c index 03fdeda8..e24f2a88 100644 --- a/src/fe-text/mainwindows.c +++ b/src/fe-text/mainwindows.c @@ -820,7 +820,7 @@ static void cmd_window_show(const char *data) if (window == NULL || is_window_visible(window)) return; - if (WINDOW_MAIN(window)->sticky_windows) { + if (WINDOW_GUI(window)->sticky) { printformat_window(active_win, MSGLEVEL_CLIENTERROR, TXT_CANT_SHOW_STICKY_WINDOWS); return; |