summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Friedrich <efriedrich@de.adit-jv.com>2023-04-20 21:50:43 +0200
committerEugen Friedrich <efriedrich@de.adit-jv.com>2023-04-20 21:50:43 +0200
commite8cef46a8339e3f930a5bd436a3807ffa8889d4f (patch)
treed9fc86a3ff3baabaab3cb56ea6b9f41c11fcf28d
parent4010cc4e60e793e5252f8b707756db3241ab7d81 (diff)
parented0a978c6dba9a0fbf8736bac12537829a97ae32 (diff)
downloadwayland-ivi-extension-e8cef46a8339e3f930a5bd436a3807ffa8889d4f.tar.gz
Merge remote-tracking branch 'upstream/pull/155'
* upstream/pull/155 ivi-controller: update data type of member in struct ivishell Reviewed-by: Eugen Friedrich <efriedrich@de.adit-jv.com> Reviewed-by: Tran Ba Khang <khang.tranba@vn.bosch.com> Reviewed-by: Harsha M M <harsha.manjulamallikarjun@in.bosch.com> Tested-by: Doan Ngoc Au <au.doanngoc@vn.bosch.com>
-rw-r--r--weston-ivi-shell/src/ivi-controller.c2
-rw-r--r--weston-ivi-shell/src/ivi-controller.h2
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 e6de020..5d0452b 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;