diff options
author | Simon Ser <contact@emersion.fr> | 2022-03-08 16:24:27 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-03-08 13:24:11 -0500 |
commit | 04676936e71f6fccccb098f3232d16572b140902 (patch) | |
tree | af19eb7696ba9c01491f307255c7f34d0a9f1aac /include/sway | |
parent | 9f98c38d3e02b0187de31a434cc4315a22834593 (diff) |
Remove WLR_SWITCH_STATE_TOGGLE usage
Ref [1].
[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/4792446ee8f50104bd207d9ccd8558a7e4eb4514
Diffstat (limited to 'include/sway')
-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 fda0e83f..538930f2 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -70,12 +70,18 @@ struct sway_mouse_binding { char *command; }; +enum sway_switch_trigger { + SWAY_SWITCH_TRIGGER_OFF, + SWAY_SWITCH_TRIGGER_ON, + SWAY_SWITCH_TRIGGER_TOGGLE, +}; + /** * A laptop switch binding and an associated command. */ struct sway_switch_binding { enum wlr_switch_type type; - enum wlr_switch_state state; + enum sway_switch_trigger trigger; uint32_t flags; char *command; }; |