aboutsummaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-10-10 12:23:04 +0000
committerGitHub <noreply@github.com>2018-10-10 12:23:04 +0000
commitcd6917d4a821fe904a2c242dff673967aa3ad4b2 (patch)
treee21f0b633212c6b8084348f08fc68cec2efece8b /include/sway/config.h
parentd3f0e52784712696c7174d3adf8ec6cf3ac31b19 (diff)
parent782ed19bc30378126f44272c1e46f2a05a9b2db1 (diff)
Merge branch 'master' into bar-bindsym
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 549d2677..bc02c0fd 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -331,6 +331,12 @@ enum focus_wrapping_mode {
WRAP_FORCE
};
+enum mouse_warping_mode {
+ WARP_NO,
+ WARP_OUTPUT,
+ WARP_CONTAINER
+};
+
/**
* The configuration struct. The result of loading a config file.
*/
@@ -372,7 +378,7 @@ struct sway_config {
// Flags
bool focus_follows_mouse;
bool raise_floating;
- bool mouse_warping;
+ enum mouse_warping_mode mouse_warping;
enum focus_wrapping_mode focus_wrapping;
bool active;
bool failed;