[PATCH weston] libweston-desktop: Fix configure event for already well-sized surfaces

Quentin Glidic sardemff7+wayland at sardemff7.net
Wed Sep 14 08:09:11 UTC 2016


On 13/09/2016 15:38, Arnaud Vrac wrote:
> On Tue, Sep 13, 2016 at 10:05 AM, Quentin Glidic
> <sardemff7+wayland at sardemff7.net
> <mailto:sardemff7+wayland at sardemff7.net>> wrote:
>
>     From: Quentin Glidic <sardemff7+git at sardemff7.net
>     <mailto:sardemff7%2Bgit at sardemff7.net>>
>
>     Even if the surface size is already correct, we need to store the
>     configured size in case some other state change triggers a configure
>     event.
>
>     Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net
>     <mailto:sardemff7%2Bgit at sardemff7.net>>
>     ---
>      libweston-desktop/wl-shell.c     | 4 ++--
>      libweston-desktop/xdg-shell-v5.c | 8 +++++---
>      libweston-desktop/xdg-shell-v6.c | 8 +++++---
>      3 files changed, 12 insertions(+), 8 deletions(-)
>
>
> Reviewed-by: Arnaud Vrac <avrac at freebox.fr <mailto:avrac at freebox.fr>>
>
> The bug can be reproduced by running weston-fullscreen -w <output_width>
> -h <output_height> and pressing the 'f' key. The window state will not
> be updated.

Thanks, pushed:
870f384..a56b053  master -> master

Cheers,


>
> Thanks,
>
> --
> Arnaud


-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list