summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout.c b/src/layout.c
index ff30def..55509e4 100644
--- a/src/layout.c
+++ b/src/layout.c
@@ -415,6 +415,7 @@ ivi_layout_activate(struct ivi_output *output, const char *app_id)
view = surf->view;
geom = weston_desktop_surface_get_geometry(dsurf);
+ surf->desktop.pending_output = output;
if (weston_desktop_surface_get_maximized(dsurf) &&
geom.width == output->area.width &&
geom.height == output->area.height) {
@@ -442,5 +443,4 @@ ivi_layout_activate(struct ivi_output *output, const char *app_id)
weston_output_damage(output->output);
}
- surf->desktop.pending_output = output;
}