diff options
-rw-r--r-- | sway/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/container.c b/sway/container.c index 7f6fcbc6..5d544934 100644 --- a/sway/container.c +++ b/sway/container.c @@ -74,7 +74,7 @@ swayc_t *new_output(wlc_handle handle) { if (oc && oc->width != -1 && oc->height != -1) { output->width = oc->width; output->height = oc->height; - struct wlc_size new_size = { .w = oc->width, .h = oc->width }; + struct wlc_size new_size = { .w = oc->width, .h = oc->height }; wlc_output_set_resolution(handle, &new_size); } else { output->width = size->w; |