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.
This commit is contained in:
Daniel Eklöf 2021-02-02 09:52:22 +01:00
parent d6b1dbf8d9
commit eff8481cdc
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 4 additions and 12 deletions

View file

@ -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);