[PATCH weston 03/10 v2] compositor-wayland: Convert fullscreen flag to bool

Quentin Glidic sardemff7+wayland at sardemff7.net
Fri Oct 14 08:44:33 UTC 2016


On 13/10/2016 12:01, Armin Krezović wrote:
> Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>

Thanks,
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>
and pushed:
c6a899d..2045016  master -> master

Cheers,


> ---
>  compositor/main.c              | 2 +-
>  libweston/compositor-wayland.c | 2 +-
>  libweston/compositor-wayland.h | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/compositor/main.c b/compositor/main.c
> index 320305c..8028ec3 100644
> --- a/compositor/main.c
> +++ b/compositor/main.c
> @@ -1577,7 +1577,7 @@ load_wayland_backend(struct weston_compositor *c,
>  	config.cursor_size = 32;
>  	config.cursor_theme = NULL;
>  	config.display_name = NULL;
> -	config.fullscreen = 0;
> +	config.fullscreen = false;
>  	config.sprawl = false;
>  	config.use_pixman = false;
>
> diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c
> index df34f91..d26360e 100644
> --- a/libweston/compositor-wayland.c
> +++ b/libweston/compositor-wayland.c
> @@ -77,7 +77,7 @@ struct wayland_backend {
>
>  	bool use_pixman;
>  	bool sprawl_across_outputs;
> -	int fullscreen;
> +	bool fullscreen;
>
>  	struct theme *theme;
>  	cairo_device_t *frame_device;
> diff --git a/libweston/compositor-wayland.h b/libweston/compositor-wayland.h
> index 3ca875a..d5c29f0 100644
> --- a/libweston/compositor-wayland.h
> +++ b/libweston/compositor-wayland.h
> @@ -41,7 +41,7 @@ struct weston_wayland_backend_config {
>  	bool use_pixman;
>  	bool sprawl;
>  	char *display_name;
> -	int fullscreen;
> +	bool fullscreen;
>  	char *cursor_theme;
>  	int cursor_size;
>  };
>


-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list