aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/hide_edge_borders.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/hide_edge_borders.c')
-rw-r--r--sway/commands/hide_edge_borders.c4
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
7static void _configure_view(struct sway_container *con, void *data) { 7static 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