aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/commands.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-31 22:58:52 -0500
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-31 22:58:52 -0500
commitebe5399ed6bfa59f5f5d289bf3d46b08f60787b3 (patch)
treeca0bff9d26283b0fa790855e7379e8da2e89166b /include/sway/commands.h
parentRebase #1636 against current master (diff)
downloadsway-ebe5399ed6bfa59f5f5d289bf3d46b08f60787b3.tar.gz
sway-ebe5399ed6bfa59f5f5d289bf3d46b08f60787b3.tar.zst
sway-ebe5399ed6bfa59f5f5d289bf3d46b08f60787b3.zip
pointer_constraint: change to a seat subcommand
This changes the `pointer_constraint` command to be a subcommand of seat to allow for per-seat settings. The current implementation that is not a seat subcommand will only operate on the current seat and will segfault in the config due to `config->handler_context.seat` only being set at runtime. This also allows for the wildcard identifier to be used to alter the pointer constraint settings on all seats and allows for the setting to be merged with the rest of the seat config.
Diffstat (limited to 'include/sway/commands.h')
-rw-r--r--include/sway/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 2877c370..3ed00763 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -153,7 +153,6 @@ sway_cmd cmd_new_window;
153sway_cmd cmd_no_focus; 153sway_cmd cmd_no_focus;
154sway_cmd cmd_output; 154sway_cmd cmd_output;
155sway_cmd cmd_permit; 155sway_cmd cmd_permit;
156sway_cmd cmd_pointer_constraint;
157sway_cmd cmd_popup_during_fullscreen; 156sway_cmd cmd_popup_during_fullscreen;
158sway_cmd cmd_reject; 157sway_cmd cmd_reject;
159sway_cmd cmd_reload; 158sway_cmd cmd_reload;
@@ -268,6 +267,7 @@ sway_cmd seat_cmd_attach;
268sway_cmd seat_cmd_cursor; 267sway_cmd seat_cmd_cursor;
269sway_cmd seat_cmd_fallback; 268sway_cmd seat_cmd_fallback;
270sway_cmd seat_cmd_hide_cursor; 269sway_cmd seat_cmd_hide_cursor;
270sway_cmd seat_cmd_pointer_constraint;
271 271
272sway_cmd cmd_ipc_cmd; 272sway_cmd cmd_ipc_cmd;
273sway_cmd cmd_ipc_events; 273sway_cmd cmd_ipc_events;