mirror of
https://github.com/swaywm/sway.git
synced 2025-11-19 06:59:52 -05:00
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.
This commit is contained in:
parent
b542c5413e
commit
bb25194844
9 changed files with 68 additions and 20 deletions
|
|
@ -78,6 +78,7 @@ sway_sources = files(
|
|||
'commands/seat/fallback.c',
|
||||
'commands/set.c',
|
||||
'commands/show_marks.c',
|
||||
'commands/smart_borders.c',
|
||||
'commands/smart_gaps.c',
|
||||
'commands/split.c',
|
||||
'commands/sticky.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue