diff options
Diffstat (limited to 'weston-ivi-shell/src/ivi-controller.c')
-rw-r--r-- | weston-ivi-shell/src/ivi-controller.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weston-ivi-shell/src/ivi-controller.c b/weston-ivi-shell/src/ivi-controller.c index c27966a..5d0452b 100644 --- a/weston-ivi-shell/src/ivi-controller.c +++ b/weston-ivi-shell/src/ivi-controller.c @@ -1429,14 +1429,14 @@ controller_screen_get(struct wl_client *client, int32_t layer_count, i; uint32_t id; - lyt = iviscrn->shell->interface; - if (!iviscrn) { ivi_wm_screen_send_error(resource, IVI_WM_SCREEN_ERROR_NO_SCREEN, "the output is already destroyed"); return; } + lyt = iviscrn->shell->interface; + if (param & IVI_WM_PARAM_RENDER_ORDER) { lyt->get_layers_on_screen(iviscrn->output, &layer_count, &layer_list); @@ -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); |