diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-12-24 16:02:40 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-12-25 05:03:02 +0100 |
commit | 37e91655484cfd533ea72bc11fe6aa0131363f11 (patch) | |
tree | 0495e527b1910e2af09574f7f3ca5d41e7fccd57 /degesch.c | |
parent | 25bb7a978d9585065be263a6f1ae2d2653d9bf58 (diff) | |
download | xK-37e91655484cfd533ea72bc11fe6aa0131363f11.tar.gz xK-37e91655484cfd533ea72bc11fe6aa0131363f11.tar.xz xK-37e91655484cfd533ea72bc11fe6aa0131363f11.zip |
degesch: better handling of terminal suspension
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3071,7 +3071,7 @@ log_formatter (struct app_context *ctx, can_leak = true; bool displayed = true; - if (ctx->running_backlog_helper) + if (ctx->terminal_suspended > 0) // Another process is using the terminal displayed = false; else if (buffer == ctx->current_buffer) @@ -11101,7 +11101,7 @@ rearm_date_change_timer (struct app_context *ctx) static void on_date_change_timer (struct app_context *ctx) { - if (!ctx->terminal_suspended) + if (ctx->terminal_suspended <= 0) buffer_update_time (ctx, time (NULL)); rearm_date_change_timer (ctx); } |