mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
Whoops
Regards to @Cloudef
This commit is contained in:
parent
b7f4607544
commit
232940f813
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue