aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOrestis Floros <orestisflo@gmail.com>2024-01-30 08:53:32 +0100
committerGitHub <noreply@github.com>2024-01-30 08:53:32 +0100
commit230147c81547848c83ac7764a6c1691f26f10e05 (patch)
tree257606a954e8a4dde809e13dcc31224b32d54676 /include
parentc3173af2f1ec89e4ef1e73da4ec48528c7f8f124 (diff)
downloadi3-230147c81547848c83ac7764a6c1691f26f10e05.tar.gz
i3-230147c81547848c83ac7764a6c1691f26f10e05.zip
smart_borders: Deprecate option (#5889)
This had pretty much identical behaviour to hide_edge_borders which made it confusing. The `hide_edge_borders smart_no_gaps` implementation has an extra check which fixes #5406.
Diffstat (limited to 'include')
-rw-r--r--include/configuration.h3
-rw-r--r--include/data.h4
2 files changed, 0 insertions, 7 deletions
diff --git a/include/configuration.h b/include/configuration.h
index 19d2f714..3773e2b5 100644
--- a/include/configuration.h
+++ b/include/configuration.h
@@ -272,9 +272,6 @@ struct Config {
/* Gap sizes */
gaps_t gaps;
- /* Should single containers on a workspace receive a border? */
- smart_borders_t smart_borders;
-
/* Disable gaps if there is only one container on the workspace */
smart_gaps_t smart_gaps;
};
diff --git a/include/data.h b/include/data.h
index 483aecab..5eade9d1 100644
--- a/include/data.h
+++ b/include/data.h
@@ -81,10 +81,6 @@ typedef enum { ADJ_NONE = 0,
ADJ_UPPER_SCREEN_EDGE = (1 << 2),
ADJ_LOWER_SCREEN_EDGE = (1 << 4) } adjacent_t;
-typedef enum { SMART_BORDERS_OFF,
- SMART_BORDERS_ON,
- SMART_BORDERS_NO_GAPS } smart_borders_t;
-
typedef enum { SMART_GAPS_OFF,
SMART_GAPS_ON,
SMART_GAPS_INVERSE_OUTER } smart_gaps_t;