aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-09 19:26:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-09 19:26:34 +0000
commit70b6d9d7d2969ea704780cad5017a43a66e9670a (patch)
treec15aab233f465a933c9a9947129e61430746aa60 /selection.c
parentREADME: remove empty lines in between list items (diff)
input: don't paste from primary if client is mouse tracking
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c2
1 files changed, 1 insertions, 1 deletions
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;