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

Armin Krezović krezovic.armin at gmail.com
Sun Oct 9 15:30:24 UTC 2016


Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>
---
 libweston/compositor-wayland.c | 2 +-
 libweston/compositor-wayland.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libweston/compositor-wayland.c b/libweston/compositor-wayland.c
index 32c44d4..a5a360c 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;
 };
-- 
2.10.1



More information about the wayland-devel mailing list