From 70b6d9d7d2969ea704780cad5017a43a66e9670a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 9 Aug 2019 21:26:34 +0200 Subject: input: don't paste from primary if client is mouse tracking --- selection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'selection.c') diff --git a/selection.c b/selection.c index 586b1c3d..8dd00da0 100644 --- a/selection.c +++ b/selection.c @@ -17,7 +17,7 @@ #define min(x, y) ((x) < (y) ? (x) : (y)) #define max(x, y) ((x) > (y) ? (x) : (y)) -static bool +bool selection_enabled(const struct terminal *term) { return term->mouse_tracking == MOUSE_NONE || term->kbd.shift; -- cgit v1.3