aboutsummaryrefslogtreecommitdiffstats
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 {
283 int left; 283 int left;
284}; 284};
285 285
286enum smart_gaps_mode {
287 SMART_GAPS_OFF,
288 SMART_GAPS_ON,
289 SMART_GAPS_INVERSE_OUTER,
290};
291
286/** 292/**
287 * Stores configuration for a workspace, regardless of whether the workspace 293 * Stores configuration for a workspace, regardless of whether the workspace
288 * exists. 294 * exists.
@@ -512,7 +518,7 @@ struct sway_config {
512 bool tiling_drag; 518 bool tiling_drag;
513 int tiling_drag_threshold; 519 int tiling_drag_threshold;
514 520
515 bool smart_gaps; 521 enum smart_gaps_mode smart_gaps;
516 int gaps_inner; 522 int gaps_inner;
517 struct side_gaps gaps_outer; 523 struct side_gaps gaps_outer;
518 524