From d0984b890b84c2fac9cdcfbc44121c1171e06531 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 21 Nov 2007 19:53:57 +0000 Subject: Sort out cursors with a new flag - BACKGROUND - for window modes. Free text on more exit. --- status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'status.c') diff --git a/status.c b/status.c index e1bb046a..8892b652 100644 --- a/status.c +++ b/status.c @@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.10 2007-11-21 13:11:41 nicm Exp $ */ +/* $Id: status.c,v 1.11 2007-11-21 19:53:56 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -57,7 +57,7 @@ status_write(struct client *c) input_store_two(b, CODE_ATTRIBUTES, s->attr, s->colr); input_store_two(b, CODE_CURSORMOVE, s->cy + 1, s->cx + 1); - if (!(s->mode & MODE_HIDDEN) && s->mode & MODE_CURSOR) + if (!(s->mode & MODE_BACKGROUND) && s->mode & MODE_CURSOR) input_store_zero(b, CODE_CURSORON); } -- cgit v1.2.3