aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-03 22:29:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-03 22:29:45 +0000
commitd706e6828062aa35505d3893fb3c04b84985aa29 (patch)
tree0d9489a327012c52fdb93f1a2761fce483108659 /selection.h
parentwayland: window: optimize: set opaque region (diff)
selection: track selection type; normal or block selection
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/selection.h b/selection.h
index 0ead8f0e..bc690eb1 100644
--- a/selection.h
+++ b/selection.h
@@ -9,7 +9,8 @@ extern const struct wl_data_device_listener data_device_listener;
extern const struct zwp_primary_selection_device_v1_listener primary_selection_device_listener;
bool selection_enabled(const struct terminal *term);
-void selection_start(struct terminal *term, int col, int row);
+void selection_start(
+ struct terminal *term, int col, int row, enum selection_kind kind);
void selection_update(struct terminal *term, int col, int row);
void selection_finalize(struct terminal *term, uint32_t serial);
void selection_cancel(struct terminal *term);