From eff8481cdc6c37407faaa3167ea6f6897b12f544 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 2 Feb 2021 09:52:22 +0100 Subject: selection: remove selection_enabled() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Its name did not reflect its semantics. Since it was only used in a single place, “inline” it there, and get rid of it. --- selection.h | 1 - 1 file changed, 1 deletion(-) (limited to 'selection.h') 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); -- cgit v1.3