From 827696bbb9b08b6941cf96f070126d704124b68e Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Thu, 5 Apr 2007 18:25:29 +0000 Subject: [PATCH] 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 --- src/fe-text/mainwindows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;