Enlightenment CVS committal
Author : mej
Project : eterm
Module : Eterm
Dir : eterm/Eterm/src
Modified Files:
term.c
Log Message:
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.
===================================================================
RCS file: /cvsroot/enlightenment/eterm/Eterm/src/term.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -3 -r1.102 -r1.103
--- term.c 11 Feb 2004 19:03:37 -0000 1.102
+++ term.c 20 Apr 2004 19:41:38 -0000 1.103
@@ -21,7 +21,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-static const char cvs_ident[] = "$Id: term.c,v 1.102 2004/02/11 19:03:37 mej Exp $";
+static const char cvs_ident[] = "$Id: term.c,v 1.103 2004/04/20 19:41:38 mej Exp $";
#include "config.h"
#include "feature.h"
@@ -1398,6 +1398,7 @@
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 @@
tt_write((unsigned char *) buff, strlen(buff));
XFree(name);
break;
+#endif
default:
break;
}
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs