diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-22 09:11:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-22 09:11:20 +0000 |
commit | df7be0ddabb2a51386eeb60e0970e128281ddfd9 (patch) | |
tree | 01a9ee9a5d80bff5ab0a330d32cb42e6ccfd6c03 /window-scroll.c | |
parent | e2438dc96e33ba8741090398344103fd2533fe2a (diff) |
Split SCREEN_BACKGROUND flag into BACKGROUND/NOCURSOR in preparation for copy mode.
Diffstat (limited to 'window-scroll.c')
-rw-r--r-- | window-scroll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/window-scroll.c b/window-scroll.c index 0efd3fe0..0c9ef2ec 100644 --- a/window-scroll.c +++ b/window-scroll.c @@ -1,4 +1,4 @@ -/* $Id: window-scroll.c,v 1.10 2007-11-21 21:28:58 nicm Exp $ */ +/* $Id: window-scroll.c,v 1.11 2007-11-22 09:11:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -56,7 +56,7 @@ window_scroll_init(struct window *w) data->ox = data->oy = 0; data->size = w->screen.hsize; - w->screen.mode |= MODE_BACKGROUND; + w->screen.mode |= (MODE_BACKGROUND|MODE_NOCURSOR); } void @@ -130,7 +130,7 @@ window_scroll_key(struct window *w, int key) w->mode = NULL; xfree(w->modedata); - w->screen.mode &= ~MODE_BACKGROUND; + w->screen.mode &= ~(MODE_BACKGROUND|MODE_NOCURSOR); recalculate_sizes(); server_redraw_window_all(w); |