Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37042364
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 

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


From 0 Mon Sep 17 00:00:00 2001
From: "George V. Kouryachy (Fr. Br. George)" <george@altlinux.ru>
Date: Tue, 23 Oct 2012 14:15:58 +0400
Subject: [PATCH] xterm-alt-disable-report_win_label
diff --git a/xterm/charproc.c b/xterm/charproc.c
index defaced..defaced 100644
--- a/xterm/charproc.c
+++ b/xterm/charproc.c
@@ -7195,6 +7195,7 @@ get_window_label(XtermWidget xw)
  * Report window label (icon or title) in dtterm protocol
  * ESC ] code label ESC backslash
  */
+#ifdef ENABLE_REPORT_WIN_LABEL
 static void
 report_win_label(XtermWidget xw,
 		 int code,
@@ -7219,6 +7220,7 @@ report_win_label(XtermWidget xw,
     unparseputc(xw, '\\');	/* should be ST */
     unparse_end(xw);
 }
+#endif /* ENABLE_REPORT_WIN_LABEL */
 
 /*
  * Window operations (from CDE dtterm description, as well as extensions).
@@ -7495,19 +7497,23 @@ window_ops(XtermWidget xw)
 #endif
 
     case ewGetIconTitle:	/* Report the icon's label */
+#ifdef ENABLE_REPORT_WIN_LABEL
 	if (AllowWindowOps(xw, ewGetIconTitle)) {
 	    TRACE(("...get icon's label\n"));
 	    report_win_label(xw, 'L', label = get_icon_label(xw));
 	    free(label);
 	}
+#endif /* ENABLE_REPORT_WIN_LABEL */
 	break;
 
     case ewGetWinTitle:	/* Report the window's title */
+#ifdef ENABLE_REPORT_WIN_LABEL
 	if (AllowWindowOps(xw, ewGetWinTitle)) {
 	    TRACE(("...get window's label\n"));
 	    report_win_label(xw, 'l', label = get_window_label(xw));
 	    free(label);
 	}
+#endif /* ENABLE_REPORT_WIN_LABEL */
 	break;
 
     case ewPushTitle:		/* save the window's title(s) on stack */
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin