diff options
Diffstat (limited to 'sway/commands/hide_edge_borders.c')
-rw-r--r-- | sway/commands/hide_edge_borders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/hide_edge_borders.c b/sway/commands/hide_edge_borders.c index e494f6aa..0a5c7f28 100644 --- a/sway/commands/hide_edge_borders.c +++ b/sway/commands/hide_edge_borders.c | |||
@@ -5,8 +5,8 @@ | |||
5 | #include "sway/tree/view.h" | 5 | #include "sway/tree/view.h" |
6 | 6 | ||
7 | static void _configure_view(struct sway_container *con, void *data) { | 7 | static void _configure_view(struct sway_container *con, void *data) { |
8 | if (con->type == C_VIEW) { | 8 | if (con->view) { |
9 | view_autoconfigure(con->sway_view); | 9 | view_autoconfigure(con->view); |
10 | } | 10 | } |
11 | } | 11 | } |
12 | 12 | ||