1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Emanuele Giaquinta 2007-04-05 18:25:29 +00:00 committed by exg
parent 760e102d44
commit 827696bbb9

View File

@ -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;