aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/focus_on_window_activation.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-10-01 12:56:27 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-10-01 21:19:06 -0400
commitbb25194844599bb653a78633c9c09c0c0ff225ee (patch)
treea19bcbc62ff5d4ddcb822914a4f3516c7766406a /sway/commands/focus_on_window_activation.c
parentb542c5413efdbbe0bbf3be0196fe566b8c6bb07f (diff)
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/commands/focus_on_window_activation.c')
0 files changed, 0 insertions, 0 deletions