aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-28 23:04:18 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-03 13:13:43 +0200
commit4ad51b6fe4c25e3ed034956f41482428b5ed315e (patch)
tree7f284c7cbb050875d60e6bc73b7c208f6a8fd2b7 /view.h
parent1ea9a99cf9872166cdf3b0aad93ee4896021e4f6 (diff)
downloadvis-4ad51b6fe4c25e3ed034956f41482428b5ed315e.tar.gz
vis-4ad51b6fe4c25e3ed034956f41482428b5ed315e.tar.xz
view: add return value to view_cursors_dispose
indicating whether cursor could be removed
Diffstat (limited to 'view.h')
-rw-r--r--view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.h b/view.h
index 3a89206..fda953f 100644
--- a/view.h
+++ b/view.h
@@ -127,7 +127,7 @@ int view_cursors_count(View*);
bool view_cursors_multiple(View*);
/* dispose an existing cursor with its associated selection (if any),
* not applicaple for the last existing cursor */
-void view_cursors_dispose(Cursor*);
+bool view_cursors_dispose(Cursor*);
/* only keep the main cursor, release all others together with their
* selections (if any) */
void view_cursors_clear(View*);