[PATCH weston] libweston-desktop/xdg_shell_v6: Send error on wrongly-sized buffer

Daniel Stone daniel at fooishbar.org
Fri Jun 23 10:59:32 UTC 2017


Hi Quentin,

On 10 March 2017 at 10:50, Quentin Glidic
<sardemff7+wayland at sardemff7.net> wrote:
> @@ -634,22 +633,27 @@ weston_desktop_xdg_toplevel_committed(struct weston_desktop_xdg_toplevel *toplev
> +       if ((toplevel->next_state.maximized || toplevel->next_state.fullscreen) &&
> +           (toplevel->requested_size.width != wsurface->width ||
> +            toplevel->requested_size.height != wsurface->height)) {

This one did worry me a little bit, but after reading through and
seeing it was only for windows wishing to go maximised or fullscreen,
it's fine indeed. So:
Reviewed-by: Daniel Stone <daniels at collabora.com>

Cheers,
Daniel


More information about the wayland-devel mailing list