aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-02 08:52:22 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-02 08:52:22 +0000
commiteff8481cdc6c37407faaa3167ea6f6897b12f544 (patch)
tree70ec70db35ff9877e83b10a24072947158609a96 /selection.h
parentinput: don’t execute mouse bindings when the application is grabbing the mouse (diff)
selection: remove selection_enabled()
Its name did not reflect its semantics. Since it was only used in a single place, “inline” it there, and get rid of it.
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/selection.h b/selection.h
index aa027d3e..241ec262 100644
--- a/selection.h
+++ b/selection.h
@@ -8,7 +8,6 @@
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, struct seat *seat);
void selection_start(
struct terminal *term, int col, int row,
enum selection_kind new_kind, bool spaces_only);