diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-02-01 09:26:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-01 09:26:30 +0100 |
commit | 47271552b0f5ae5dbba6efd3882e5cce2d83070e (patch) | |
tree | ca0bff9d26283b0fa790855e7379e8da2e89166b /include/sway/config.h | |
parent | 204e1f47122d5a48865802dd1fb94fe0f05c2401 (diff) | |
parent | ebe5399ed6bfa59f5f5d289bf3d46b08f60787b3 (diff) |
Merge pull request #3550 from RedSoxFan/seat-pointer-constraint
pointer_constraint: change to a seat subcommand
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 { |