diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-10-01 12:56:27 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-10-01 21:19:06 -0400 |
commit | bb25194844599bb653a78633c9c09c0c0ff225ee (patch) | |
tree | a19bcbc62ff5d4ddcb822914a4f3516c7766406a /sway/meson.build | |
parent | Merge pull request #2739 from RedSoxFan/fix-2653 (diff) | |
download | sway-bb25194844599bb653a78633c9c09c0c0ff225ee.tar.gz sway-bb25194844599bb653a78633c9c09c0c0ff225ee.tar.zst sway-bb25194844599bb653a78633c9c09c0c0ff225ee.zip |
Handle border options for gaps
Fixes `hide_edge_borders smart` when gaps are in use.
Implements `hide_edge_borders smart_no_gaps` and `smart_borders
on|no_gaps|off`.
Since `smart_borders on` is equivalent to `hide_edge_borders smart`
and `smart_borders no_gaps` is equivalent to `hide_edge_borders
smart_no_gaps`, I opted to just save the last value set for
`hide_edge_borders` and restore that on `smart_borders off`. This
simplifies the conditions for setting the border.
Diffstat (limited to 'sway/meson.build')
-rw-r--r-- | sway/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/meson.build b/sway/meson.build index 6eb9a9d7..ec6546a2 100644 --- a/sway/meson.build +++ b/sway/meson.build | |||
@@ -78,6 +78,7 @@ sway_sources = files( | |||
78 | 'commands/seat/fallback.c', | 78 | 'commands/seat/fallback.c', |
79 | 'commands/set.c', | 79 | 'commands/set.c', |
80 | 'commands/show_marks.c', | 80 | 'commands/show_marks.c', |
81 | 'commands/smart_borders.c', | ||
81 | 'commands/smart_gaps.c', | 82 | 'commands/smart_gaps.c', |
82 | 'commands/split.c', | 83 | 'commands/split.c', |
83 | 'commands/sticky.c', | 84 | 'commands/sticky.c', |