compositor-wayland: Convert fullscreen flag to bool
Signed-off-by: Armin Krezović <krezovic.armin@gmail.com> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
committed by
Quentin Glidic
parent
c6a899dec7
commit
2045016d8e
+1
-1
@@ -1577,7 +1577,7 @@ load_wayland_backend(struct weston_compositor *c,
|
|||||||
config.cursor_size = 32;
|
config.cursor_size = 32;
|
||||||
config.cursor_theme = NULL;
|
config.cursor_theme = NULL;
|
||||||
config.display_name = NULL;
|
config.display_name = NULL;
|
||||||
config.fullscreen = 0;
|
config.fullscreen = false;
|
||||||
config.sprawl = false;
|
config.sprawl = false;
|
||||||
config.use_pixman = false;
|
config.use_pixman = false;
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ struct wayland_backend {
|
|||||||
|
|
||||||
bool use_pixman;
|
bool use_pixman;
|
||||||
bool sprawl_across_outputs;
|
bool sprawl_across_outputs;
|
||||||
int fullscreen;
|
bool fullscreen;
|
||||||
|
|
||||||
struct theme *theme;
|
struct theme *theme;
|
||||||
cairo_device_t *frame_device;
|
cairo_device_t *frame_device;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ struct weston_wayland_backend_config {
|
|||||||
bool use_pixman;
|
bool use_pixman;
|
||||||
bool sprawl;
|
bool sprawl;
|
||||||
char *display_name;
|
char *display_name;
|
||||||
int fullscreen;
|
bool fullscreen;
|
||||||
char *cursor_theme;
|
char *cursor_theme;
|
||||||
int cursor_size;
|
int cursor_size;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user