diff options
-rw-r--r-- | src/desktop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/desktop.c b/src/desktop.c index 36fe6f2..1cda129 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -223,7 +223,10 @@ desktop_surface_added(struct weston_desktop_surface *dsurface, void *userdata) if (output && ivi->shell_client.ready) { struct ivi_output *ivi_output = to_ivi_output(output); - desktop_surface_added_configure(surface, ivi_output); + if (active_output) + desktop_surface_added_configure(surface, active_output); + else + desktop_surface_added_configure(surface, ivi_output); } /* * We delay creating "normal" desktop surfaces until later, to |