summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compositor.c2
-rw-r--r--src/layout.c4
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);