summaryrefslogtreecommitdiff
path: root/src/frontend_sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend_sdl.c')
-rw-r--r--src/frontend_sdl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend_sdl.c b/src/frontend_sdl.c
index cc73f43..d40eb7b 100644
--- a/src/frontend_sdl.c
+++ b/src/frontend_sdl.c
@@ -386,6 +386,7 @@ sdlcopy(nsfb_t *nsfb, nsfb_bbox_t *srcbox, nsfb_bbox_t *dstbox)
nsfb_plot_add_rect(srcbox, dstbox, &allbox);
+ /* clear the cursor if its within the region to be altered */
if ((cursor != NULL) &&
(cursor->plotted == true) &&
(nsfb_plot_bbox_intersect(&allbox, &cursor->loc))) {