aboutsummaryrefslogtreecommitdiff
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 18:52:44 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 18:52:44 +0000
commit8873c79cbcaf799ca4b371faf24564664aedc850 (patch)
treea941bb5223a9c43e10c6aaf098b4154f3b7272e6 /screen-write.c
parentf9dedfcccac39efbf4d6aee8a24259ca3470f9af (diff)
downloadrtmux-8873c79cbcaf799ca4b371faf24564664aedc850.tar.gz
rtmux-8873c79cbcaf799ca4b371faf24564664aedc850.tar.bz2
rtmux-8873c79cbcaf799ca4b371faf24564664aedc850.zip
Set window title to current session. New options set-titles to disable.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/screen-write.c b/screen-write.c
index f0696e02..52d03622 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -1,4 +1,4 @@
-/* $Id: screen-write.c,v 1.7 2008-06-04 19:20:09 nicm Exp $ */
+/* $Id: screen-write.c,v 1.8 2008-06-18 18:52:44 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -92,9 +92,6 @@ screen_write_set_title(struct screen_write_ctx *ctx, char *title)
xfree(s->title);
s->title = title;
-
- if (ctx->write != NULL)
- ctx->write(ctx->data, TTY_TITLE, s->title);
}
/* Put a character. */