summaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authoremersion <[email protected]>2018-05-28 10:30:11 +0100
committerGitHub <[email protected]>2018-05-28 10:30:11 +0100
commit1071785f56676218a059e4d6fa10def630e5129b (patch)
treef3ec325fc9e67af920c94454e2f6f2a5766d8b88 /include/sway/config.h
parent015878e5db5df2fa36c3d5783661e56d5f10c100 (diff)
parent46da1dc32bd6c101964d32bb698e8187fb9ee91e (diff)
Merge pull request #2060 from RedSoxFan/focus-wrapping
Implement focus_wrapping
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 118981e3..de651ea4 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -285,6 +285,12 @@ struct ipc_policy {
uint32_t features;
};
+enum focus_wrapping_mode {
+ WRAP_NO,
+ WRAP_YES,
+ WRAP_FORCE
+};
+
/**
* The configuration struct. The result of loading a config file.
*/
@@ -320,7 +326,7 @@ struct sway_config {
// Flags
bool focus_follows_mouse;
bool mouse_warping;
- bool force_focus_wrapping;
+ enum focus_wrapping_mode focus_wrapping;
bool active;
bool failed;
bool reloading;