summaryrefslogtreecommitdiffstats
path: root/sway/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/container.c b/sway/container.c
index 6debeea3..d4f7c693 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -70,9 +70,9 @@ swayc_t *new_output(wlc_handle handle) {
70 oc = NULL; 70 oc = NULL;
71 } 71 }
72 72
73 if (oc && !oc->enabled) { 73 if (oc && !oc->enabled) {
74 return NULL; 74 return NULL;
75 } 75 }
76 76
77 swayc_t *output = new_swayc(C_OUTPUT); 77 swayc_t *output = new_swayc(C_OUTPUT);
78 if (oc && oc->width != -1 && oc->height != -1) { 78 if (oc && oc->width != -1 && oc->height != -1) {