aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-06-13 14:20:30 +0200
committerMarc André Tanner <mat@brain-dump.org>2017-06-15 15:51:43 +0200
commita845dec7336c379d007832cbc5ff9abbb9fe1dab (patch)
treec9088d61b6b80a304433e697d9b53f869e3a4f74 /view.h
parent83206fa91345d24881146f1caed88050594797e1 (diff)
downloadvis-a845dec7336c379d007832cbc5ff9abbb9fe1dab.tar.gz
vis-a845dec7336c379d007832cbc5ff9abbb9fe1dab.tar.xz
view: introduce view_selections_normalize
Dispose all invalid and merge all overlapping selections.
Diffstat (limited to 'view.h')
-rw-r--r--view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/view.h b/view.h
index e5f4c7f..677824a 100644
--- a/view.h
+++ b/view.h
@@ -137,6 +137,8 @@ bool view_selections_dispose_force(Selection*);
Selection *view_selection_disposed(View*);
/** Dispose all but the primary selection. */
void view_selections_dispose_all(View*);
+/** Dispose all invalid and merge all overlapping selections. */
+void view_selections_normalize(View*);
/**
* @}
* @defgroup view_navigate