desktop: Reset the active surface
[src/agl-compositor.git] / src / layout.c
index 3166e92..b5bafe3 100644 (file)
@@ -212,6 +212,7 @@ ivi_layout_activate_complete(struct ivi_output *output,
 
        /* force repaint of the entire output */
        weston_output_damage(output->output);
+       surf->desktop.last_output = surf->desktop.pending_output;
        surf->desktop.pending_output = NULL;
 }