aboutsummaryrefslogtreecommitdiff
path: root/selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/selection.c b/selection.c
index 2c8176dd..f097e37b 100644
--- a/selection.c
+++ b/selection.c
@@ -21,11 +21,11 @@
#include "vt.h"
bool
-selection_enabled(const struct terminal *term)
+selection_enabled(const struct terminal *term, struct seat *seat)
{
return
term->mouse_tracking == MOUSE_NONE ||
- term_mouse_grabbed(term) ||
+ term_mouse_grabbed(term, seat) ||
term->is_searching;
}