Merge pull request #7992 from Sunderland93/master

[Wayland] Fix toggle fullscreen
This commit is contained in:
Twinaphex 2019-01-13 01:34:06 +01:00 committed by GitHub
commit c4669c3302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -657,6 +657,8 @@ static void handle_toplevel_config(void *data, struct xdg_toplevel *toplevel,
wl->width = width;
wl->height = height;
}
wl_egl_window_resize(wl->win, width, height, 0, 0);
wl->configured = false;
}
@ -721,6 +723,8 @@ static void handle_zxdg_toplevel_config(void *data, struct zxdg_toplevel_v6 *top
wl->width = width;
wl->height = height;
}
wl_egl_window_resize(wl->win, width, height, 0, 0);
wl->configured = false;
}