aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/seat.c
diff options
context:
space:
mode:
authorLibravatar Danny Bautista <pyrolagus@nerdpol.ch>2018-04-10 11:32:37 -0400
committerLibravatar Danny Bautista <pyrolagus@nerdpol.ch>2018-04-10 12:40:50 -0400
commit1edb2bd89254069066bab51d316962e85d4445b4 (patch)
tree6c9d9639fcb2d8e0e2b25553307522dd7062073b /sway/commands/seat.c
parentMerge pull request #1791 from RyanDwyer/fix-swaybar-output-config (diff)
downloadsway-1edb2bd89254069066bab51d316962e85d4445b4.tar.gz
sway-1edb2bd89254069066bab51d316962e85d4445b4.tar.zst
sway-1edb2bd89254069066bab51d316962e85d4445b4.zip
Implement cursor event 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) {
40 struct cmd_results *res; 40 struct cmd_results *res;
41 if (strcasecmp("attach", argv[1]) == 0) { 41 if (strcasecmp("attach", argv[1]) == 0) {
42 res = seat_cmd_attach(argc_new, argv_new); 42 res = seat_cmd_attach(argc_new, argv_new);
43 } else if (strcasecmp("cursor", argv[1]) == 0) {
44 res = seat_cmd_cursor(argc_new, argv_new);
43 } else if (strcasecmp("fallback", argv[1]) == 0) { 45 } else if (strcasecmp("fallback", argv[1]) == 0) {
44 res = seat_cmd_fallback(argc_new, argv_new); 46 res = seat_cmd_fallback(argc_new, argv_new);
45 } else { 47 } else {