From 7c6686221f328e9399eb679c246662c801b2356b Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 8 Oct 2020 19:55:32 +0200 Subject: bell: optionally render margins in red when receiving BEL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add anew config option, ‘bell=none|set-urgency’. When set to ‘set-urgency’, the margins will be painted in red (if the window did not have keyboard focus). This is intended as a cheap replacement for the ‘urgency’ hint, that doesn’t (yet) exist on Wayland. Closes #157 --- csi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'csi.c') diff --git a/csi.c b/csi.c index 9a8d7a38..1b5d070b 100644 --- a/csi.c +++ b/csi.c @@ -363,6 +363,7 @@ decset_decrst(struct terminal *term, unsigned param, bool enable) /* DECSCNM */ term->reverse = enable; term_damage_all(term); + term_damage_margins(term); break; case 6: { -- cgit v1.3