Tue Apr 20 15:40:39 2004 Michael Jennings (mej)
Enable title-reporting and iconname-reporting escape sequences only if specifically requested by user at compile time. This exists solely to protect the ignorant and careless from themselves. SVN revision: 9812
This commit is contained in:
parent
6c1f2d8b08
commit
b73ab6a85d
|
@ -5209,3 +5209,9 @@ As requested by Ben Armstrong <synrg@sanctuary.nslug.ns.ca>, saving
|
|||
theme settings will not preserve -e/--exec arguments unless a theme
|
||||
was specifically named by the user.
|
||||
----------------------------------------------------------------------
|
||||
Tue Apr 20 15:40:39 2004 Michael Jennings (mej)
|
||||
|
||||
Enable title-reporting and iconname-reporting escape sequences only if
|
||||
specifically requested by user at compile time. This exists solely to
|
||||
protect the ignorant and careless from themselves.
|
||||
----------------------------------------------------------------------
|
||||
|
|
11
configure.in
11
configure.in
|
@ -916,6 +916,17 @@ else
|
|||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
dnl# Enable/disable name reporting escape sequences
|
||||
AC_MSG_CHECKING(if we should enable name reporting escape sequences)
|
||||
AC_ARG_ENABLE(name-eporting-escapes, [ --enable-name-reporting-escapes Specify this to enable title/icon name reporting], [
|
||||
if test "$enableval" = "yes"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(ENABLE_NAME_REPORTING_ESCAPES, 1, [Defined to enable title/icon name reporting escape sequences.])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
], [AC_MSG_RESULT(no)])
|
||||
|
||||
dnl# Enable/disable humor
|
||||
AC_ARG_WITH(sense-of-humor, [ --without-sense-of-humor Specify this if you have no sense of humor], [
|
||||
if test "$withval" = "no"; then
|
||||
|
|
|
@ -1398,6 +1398,7 @@ process_window_mode(unsigned int nargs, int args[])
|
|||
snprintf(buff, sizeof(buff), "\033[8;%d;%dt", TERM_WINDOW_GET_REPORTED_ROWS(), TERM_WINDOW_GET_REPORTED_COLS());
|
||||
tt_write((unsigned char *) buff, strlen(buff));
|
||||
break;
|
||||
#ifdef ENABLE_NAME_REPORTING_ESCAPES
|
||||
case 20:
|
||||
XGetIconName(Xdisplay, TermWin.parent, &name);
|
||||
snprintf(buff, sizeof(buff), "\033]L%s\033\\", name);
|
||||
|
@ -1410,6 +1411,7 @@ process_window_mode(unsigned int nargs, int args[])
|
|||
tt_write((unsigned char *) buff, strlen(buff));
|
||||
XFree(name);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue