diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 2 | ||||
-rw-r--r-- | include/sway/config.h | 8 |
2 files changed, 8 insertions, 2 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; sway_cmd cmd_no_focus; sway_cmd cmd_output; sway_cmd cmd_permit; -sway_cmd cmd_pointer_constraint; sway_cmd cmd_popup_during_fullscreen; sway_cmd cmd_reject; sway_cmd cmd_reload; @@ -268,6 +267,7 @@ sway_cmd seat_cmd_attach; sway_cmd seat_cmd_cursor; sway_cmd seat_cmd_fallback; sway_cmd seat_cmd_hide_cursor; +sway_cmd seat_cmd_pointer_constraint; sway_cmd cmd_ipc_cmd; sway_cmd cmd_ipc_events; diff --git a/include/sway/config.h b/include/sway/config.h index e63b9895..43ea7778 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -135,6 +135,12 @@ struct seat_attachment_config { // TODO other things are configured here for some reason }; +enum seat_config_allow_constrain { + CONSTRAIN_DEFAULT, // the default is currently enabled + CONSTRAIN_ENABLE, + CONSTRAIN_DISABLE +}; + /** * Options for multiseat and other misc device configurations */ @@ -143,7 +149,7 @@ struct seat_config { int fallback; // -1 means not set list_t *attachments; // list of seat_attachment configs int hide_cursor_timeout; - bool allow_constrain; + enum seat_config_allow_constrain allow_constrain; }; enum config_dpms { |