diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-09-18 15:58:54 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-09-18 15:58:54 +0200 |
commit | 3e71989955e1c410bfa47ab6851abba5cc76a3e3 (patch) | |
tree | e282e34a92dabcf2945d1207ae78803b171935b9 /src/terminal.c | |
parent | 0ee83010ff6ac9366fdb1c5115a334cda6082def (diff) |
tsm: screen: introduce TSM_SCREEN_OPT_RENDER_TIMING
Instead of accessing kmscon state from TSM, we now introduce options to
control the behavior of TSM-screens. Apart from logging, TSM is now
independent of any kmscon state/code.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c index 78504d4..2a9f844 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -425,6 +425,9 @@ int kmscon_terminal_new(struct kmscon_terminal **out, if (ret) goto err_free; tsm_screen_set_max_sb(term->console, kmscon_conf.sb_size); + if (kmscon_conf.render_timing) + tsm_screen_set_opts(term->console, + TSM_SCREEN_OPT_RENDER_TIMING); ret = kmscon_vte_new(&term->vte, term->console, write_event, term); if (ret) |