diff options
author | Au Doan Ngoc <au.doanngoc@vn.bosch.com> | 2023-04-06 16:39:33 +0700 |
---|---|---|
committer | Au Doan Ngoc <au.doanngoc@vn.bosch.com> | 2023-04-06 16:47:03 +0700 |
commit | ed0a978c6dba9a0fbf8736bac12537829a97ae32 (patch) | |
tree | b231e11baf3000bb970284dc920955915df96bbc | |
parent | b090cb09fbf7fec9e18fc76c5ba31ac9adc76e74 (diff) | |
download | wayland-ivi-extension-ed0a978c6dba9a0fbf8736bac12537829a97ae32.tar.gz |
ivi-controller: update data type of member in struct ivishell
From weston version 8.0.0, data type of param in
weston_config_section_get_bool() changed from int to bool. So, we need
to update in wayland-ivi-extension source.
Signed-off-by: Au Doan Ngoc <au.doanngoc@vn.bosch.com>
-rw-r--r-- | weston-ivi-shell/src/ivi-controller.c | 2 | ||||
-rw-r--r-- | weston-ivi-shell/src/ivi-controller.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/weston-ivi-shell/src/ivi-controller.c b/weston-ivi-shell/src/ivi-controller.c index c27966a..61cfdb6 100644 --- a/weston-ivi-shell/src/ivi-controller.c +++ b/weston-ivi-shell/src/ivi-controller.c @@ -2063,7 +2063,7 @@ get_config(struct weston_compositor *compositor, struct ivishell *shell) weston_config_section_get_bool(section, "enable-cursor", - &shell->enable_cursor, 0); + &shell->enable_cursor, false); wl_array_init(&shell->screen_ids); diff --git a/weston-ivi-shell/src/ivi-controller.h b/weston-ivi-shell/src/ivi-controller.h index 16dbe57..67599bd 100644 --- a/weston-ivi-shell/src/ivi-controller.h +++ b/weston-ivi-shell/src/ivi-controller.h @@ -87,7 +87,7 @@ struct ivishell { int32_t bkgnd_surface_id; uint32_t bkgnd_color; - int enable_cursor; + bool enable_cursor; struct ivisurface *bkgnd_surface; struct weston_layer bkgnd_layer; struct weston_view *bkgnd_view; |