summaryrefslogtreecommitdiff
path: root/sway/commands/border.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2017-04-10 07:17:47 -0400
committerGitHub <[email protected]>2017-04-10 07:17:47 -0400
commit5d3a02a7c624bbef07b1b228eb1bb60fade5248c (patch)
tree35860f43beb1ce46de5a3d780ca33830d4bc9ba4 /sway/commands/border.c
parent60ce81e06adc9ea133e8cfd030465e94295a95ff (diff)
parent7fee555a462b001748352da1339c9bcc0e154a3b (diff)
Merge branch 'master' into pretty-print-swaymsg
Diffstat (limited to 'sway/commands/border.c')
-rw-r--r--sway/commands/border.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/border.c b/sway/commands/border.c
index 0211e40c..c888622e 100644
--- a/sway/commands/border.c
+++ b/sway/commands/border.c
@@ -20,7 +20,7 @@ struct cmd_results *cmd_border(int argc, char **argv) {
"Expected 'border <normal|pixel|none|toggle> [<n>]");
}
- swayc_t *view = get_focused_view(&root_container);
+ swayc_t *view = current_container;
enum swayc_border_types border = view->border_type;
int thickness = view->border_thickness;