Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37758008
en ru br
Репозитории ALT
S:379-alt2
5.1: 250-alt1
4.1: 235-alt1
4.0: 231-alt1
3.0: 202-alt2
www.altlinux.org/Changes

Группа :: Терминалы
Пакет: xterm

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: xterm-alt-disable-report_win_label.patch
Скачать


--- xterm-202/charproc.c.orig	2005-06-08 15:50:51 +0400
+++ xterm-202/charproc.c	2005-06-08 15:50:51 +0400
@@ -4343,6 +4343,7 @@ restoremodes(XtermWidget termw)
     }
 }
 
+#ifdef ENABLE_REPORT_WIN_LABEL
 /*
  * Report window label (icon or title) in dtterm protocol
  * ESC ] code label ESC backslash
@@ -4379,6 +4379,7 @@ report_win_label(TScreen * screen,
     unparseputc(xw, '\\');	/* should be ST */
     unparse_end(xw);
 }
+#endif /* ENABLE_REPORT_WIN_LABEL */
 
 /*
  * Window operations (from CDE dtterm description, as well as extensions).
@@ -4525,13 +4525,17 @@ window_ops(XtermWidget termw)
 #endif
 
     case 20:			/* Report the icon's label */
+#ifdef ENABLE_REPORT_WIN_LABEL
 	report_win_label(xw, 'L', &text,
 			 XGetWMIconName(screen->display, VShellWindow, &text));
+#endif /* ENABLE_REPORT_WIN_LABEL */
 	break;
 
     case 21:			/* Report the window's title */
+#ifdef ENABLE_REPORT_WIN_LABEL
 	report_win_label(xw, 'l', &text,
 			 XGetWMName(screen->display, VShellWindow, &text));
+#endif /* ENABLE_REPORT_WIN_LABEL */
 	break;
 
     default:			/* DECSLPP (24, 25, 36, 48, 72, 144) */
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin