aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-01-30 10:42:31 -0500
committerLibravatar emersion <contact@emersion.fr>2019-01-30 19:53:59 +0100
commita6d41254c90c1471326e5df94b939a12844d9be6 (patch)
tree2b8c8f6efc012284bd438a0ebcfc7f6022e32bc5 /include
parentAdd relative pointer (diff)
downloadsway-a6d41254c90c1471326e5df94b939a12844d9be6.tar.gz
sway-a6d41254c90c1471326e5df94b939a12844d9be6.tar.zst
sway-a6d41254c90c1471326e5df94b939a12844d9be6.zip
Add pointer_constraint command
Diffstat (limited to 'include')
-rw-r--r--include/sway/commands.h1
-rw-r--r--include/sway/config.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 7672a3fd..2877c370 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -153,6 +153,7 @@ 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;
156sway_cmd cmd_popup_during_fullscreen; 157sway_cmd cmd_popup_during_fullscreen;
157sway_cmd cmd_reject; 158sway_cmd cmd_reject;
158sway_cmd cmd_reload; 159sway_cmd cmd_reload;
diff --git a/include/sway/config.h b/include/sway/config.h
index d5467a56..e63b9895 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -143,6 +143,7 @@ struct seat_config {
143 int fallback; // -1 means not set 143 int fallback; // -1 means not set
144 list_t *attachments; // list of seat_attachment configs 144 list_t *attachments; // list of seat_attachment configs
145 int hide_cursor_timeout; 145 int hide_cursor_timeout;
146 bool allow_constrain;
146}; 147};
147 148
148enum config_dpms { 149enum config_dpms {