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:
parent
760e102d44
commit
827696bbb9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user