diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-30 10:42:31 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-30 19:53:59 +0100 |
commit | a6d41254c90c1471326e5df94b939a12844d9be6 (patch) | |
tree | 2b8c8f6efc012284bd438a0ebcfc7f6022e32bc5 /include | |
parent | Add relative pointer (diff) | |
download | sway-a6d41254c90c1471326e5df94b939a12844d9be6.tar.gz sway-a6d41254c90c1471326e5df94b939a12844d9be6.tar.zst sway-a6d41254c90c1471326e5df94b939a12844d9be6.zip |
Add pointer_constraint command
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 1 |
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; | |||
153 | sway_cmd cmd_no_focus; | 153 | sway_cmd cmd_no_focus; |
154 | sway_cmd cmd_output; | 154 | sway_cmd cmd_output; |
155 | sway_cmd cmd_permit; | 155 | sway_cmd cmd_permit; |
156 | sway_cmd cmd_pointer_constraint; | ||
156 | sway_cmd cmd_popup_during_fullscreen; | 157 | sway_cmd cmd_popup_during_fullscreen; |
157 | sway_cmd cmd_reject; | 158 | sway_cmd cmd_reject; |
158 | sway_cmd cmd_reload; | 159 | sway_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 | ||
148 | enum config_dpms { | 149 | enum config_dpms { |