aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway')
-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 852d5576..0912bc73 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -327,6 +327,12 @@ struct ipc_policy {
uint32_t features;
};
+enum focus_follows_mouse_mode {
+ FOLLOWS_NO,
+ FOLLOWS_YES,
+ FOLLOWS_ALWAYS
+};
+
enum focus_wrapping_mode {
WRAP_NO,
WRAP_YES,
@@ -378,7 +384,7 @@ struct sway_config {
enum sway_popup_during_fullscreen popup_during_fullscreen;
// Flags
- bool focus_follows_mouse;
+ enum focus_follows_mouse_mode focus_follows_mouse;
enum mouse_warping_mode mouse_warping;
enum focus_wrapping_mode focus_wrapping;
bool active;