summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;