aboutsummaryrefslogtreecommitdiff
path: root/selection.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-09 07:52:11 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-09 07:52:11 +0000
commit4e48d550efba98ebecf4b60045004e52c585c52d (patch)
tree2bfa3618c2a7277d3402a7ed34a3fc422bc04cdf /selection.h
parentreadme: add multi-seat support to the feature list (diff)
multi-seat: improve handling of multiple (mouse) pointers
* xcursor always set for all pointers * xcursor sometimes not updated when it should be * mouse grabbed state wasn't per seat, but global (i.e. "does at least one seat enable mouse grabbing") * selection enabled state wasn't per seat
Diffstat (limited to 'selection.h')
-rw-r--r--selection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/selection.h b/selection.h
index e049f182..52b0f1a3 100644
--- a/selection.h
+++ b/selection.h
@@ -8,7 +8,7 @@
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);
+bool selection_enabled(const struct terminal *term, struct seat *seat);
void selection_start(
struct terminal *term, int col, int row, enum selection_kind kind);
void selection_update(struct terminal *term, int col, int row);