diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2023-05-10 08:15:25 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2023-05-10 18:25:35 +0300 |
commit | 5629337d14032e9aa8271d6ae1d4cf9622c3f199 (patch) | |
tree | 49ac9eff55cc07bbe3d5852e16069454eeb1a0f2 | |
parent | ff0c05c6f919c33af99bfc0078efd39b14f978a3 (diff) |
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib0a5eda4fb0ccbcc8b91c8626104e0cc488a0461
-rw-r--r-- | src/compositor.c | 2 | ||||
-rw-r--r-- | src/layout.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/compositor.c b/src/compositor.c index 28d563a..6904d59 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1769,8 +1769,6 @@ weston_log_subscribe_to_scopes(struct weston_log_context *log_ctx, weston_log_subscribe(log_ctx, logger, "log"); } ->>>>>>> cea026b (compositor: Add support for subscribing to libweston scopes) - WL_EXPORT int wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data) { diff --git a/src/layout.c b/src/layout.c index 98a1df8..214d897 100644 --- a/src/layout.c +++ b/src/layout.c @@ -411,6 +411,7 @@ ivi_layout_add_to_hidden_layer(struct ivi_surface *surf, ivi_output->area.width, ivi_output->area.height); + weston_log("Surface is not mapped at all\n"); weston_log("Setting app_id %s, role %s, set to maximized (%dx%d)\n", app_id, ivi_layout_get_surface_role_name(surf), ivi_output->area.width, ivi_output->area.height); @@ -418,6 +419,9 @@ ivi_layout_add_to_hidden_layer(struct ivi_surface *surf, surf->hidden_layer_output = ivi_output; weston_view_set_output(ev, ivi_output->output); weston_layer_entry_insert(&ivi->hidden.view_list, &ev->layer_link); + weston_view_geometry_dirty(ev); + weston_surface_damage(ev->surface); + weston_log("Placed app_id %s, type %s in hidden layer on output %s\n", app_id, ivi_layout_get_surface_role_name(surf), ivi_output->output->name); |