diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-27 19:43:50 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-27 19:43:50 +0000 |
commit | 2fabfb30b0275a0adc7b5bc0a260ab830d1f41ed (patch) | |
tree | 64a5f000de438e60e16af03b4ebe33634b83da1a /window-copy.c | |
parent | 80e30f693c925841b5874063ca1d8aab2c42d231 (diff) |
Make reset actually work.
Diffstat (limited to 'window-copy.c')
-rw-r--r-- | window-copy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/window-copy.c b/window-copy.c index eb5c5d37..e6c588c4 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1,4 +1,4 @@ -/* $Id: window-copy.c,v 1.11 2007-11-27 19:32:15 nicm Exp $ */ +/* $Id: window-copy.c,v 1.12 2007-11-27 19:43:50 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -121,6 +121,9 @@ window_copy_draw( data->size = s->hsize; } screen_draw_set_offset(ctx, data->ox, data->oy); + screen_draw_set_selection(ctx, + data->selflag, data->selx, data->sely, + data->cx + data->ox, data->size + data->cy - data->oy); if (py != 0) screen_draw_lines(ctx, py, ny); |