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

Arnaud Vrac rawoul at gmail.com
Tue Sep 13 13:38:22 UTC 2016


On Tue, Sep 13, 2016 at 10:05 AM, Quentin Glidic <
sardemff7+wayland at sardemff7.net> wrote:

> From: Quentin Glidic <sardemff7+git 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>
> ---
>  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>

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,

-- 
Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160913/45231f1c/attachment.html>


More information about the wayland-devel mailing list