diff options
-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; |