diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-22 14:03:51 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-22 14:03:51 -0400 |
commit | 232940f81302ca7c07c08744ada0be0fa37dd2ff (patch) | |
tree | 880cc645f284bb35d8029acb51264d6192868596 | |
parent | Implement output configuration through config (diff) | |
download | sway-232940f81302ca7c07c08744ada0be0fa37dd2ff.tar.gz sway-232940f81302ca7c07c08744ada0be0fa37dd2ff.tar.zst sway-232940f81302ca7c07c08744ada0be0fa37dd2ff.zip |
Whoops
Regards to @Cloudef
-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) { | |||
74 | if (oc && oc->width != -1 && oc->height != -1) { | 74 | if (oc && oc->width != -1 && oc->height != -1) { |
75 | output->width = oc->width; | 75 | output->width = oc->width; |
76 | output->height = oc->height; | 76 | output->height = oc->height; |
77 | struct wlc_size new_size = { .w = oc->width, .h = oc->width }; | 77 | struct wlc_size new_size = { .w = oc->width, .h = oc->height }; |
78 | wlc_output_set_resolution(handle, &new_size); | 78 | wlc_output_set_resolution(handle, &new_size); |
79 | } else { | 79 | } else { |
80 | output->width = size->w; | 80 | output->width = size->w; |