aboutsummaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
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 46dd4ffe..660245c1 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -283,6 +283,12 @@ struct side_gaps {
int left;
};
+enum smart_gaps_mode {
+ SMART_GAPS_OFF,
+ SMART_GAPS_ON,
+ SMART_GAPS_INVERSE_OUTER,
+};
+
/**
* Stores configuration for a workspace, regardless of whether the workspace
* exists.
@@ -512,7 +518,7 @@ struct sway_config {
bool tiling_drag;
int tiling_drag_threshold;
- bool smart_gaps;
+ enum smart_gaps_mode smart_gaps;
int gaps_inner;
struct side_gaps gaps_outer;