Репозитории ALT
Группа :: Терминалы
Пакет: 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) */