aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/seat.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-10 18:17:51 -0400
committerGitHub <noreply@github.com>2018-04-10 18:17:51 -0400
commit96118be241b5a2f0f629a1f1859f1ec4ed39734c (patch)
tree261a479b5d6e14b33d94d48f8be882fc7e3930d7 /sway/commands/seat.c
parent23df5b637ef7fc13e52f11bd6def23906c3828d4 (diff)
parentc53b2edd41babec9c5d214eab383107509f20353 (diff)
Merge pull request #1793 from PyroLagus/input-simulation
Cursor input simulation with sway commands.
Diffstat (limited to 'sway/commands/seat.c')
-rw-r--r--sway/commands/seat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/seat.c b/sway/commands/seat.c
index 819b769c..5916015f 100644
--- a/sway/commands/seat.c
+++ b/sway/commands/seat.c
@@ -40,6 +40,8 @@ struct cmd_results *cmd_seat(int argc, char **argv) {
struct cmd_results *res;
if (strcasecmp("attach", argv[1]) == 0) {
res = seat_cmd_attach(argc_new, argv_new);
+ } else if (strcasecmp("cursor", argv[1]) == 0) {
+ res = seat_cmd_cursor(argc_new, argv_new);
} else if (strcasecmp("fallback", argv[1]) == 0) {
res = seat_cmd_fallback(argc_new, argv_new);
} else {