compositor: move output assignment to update_transform
authorPekka Paalanen <ppaalanen@gmail.com>
Fri, 10 Feb 2012 11:34:36 +0000 (13:34 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Fri, 10 Feb 2012 13:50:27 +0000 (15:50 +0200)
commitf07cb5d5f088e92e6f8021e82a0d6620f5d6e811
tree4dc7cdc465587e1c3fdef50a59a0e7010531aa3b
parent730d87e6a6c70a6151cfe931e0db4334531a5bdb
compositor: move output assignment to update_transform

Move the call to assign an output from weston_surface_configure() to
weston_surface_update_transform().

As update_transform takes new geometry into use, it should also reassign
the output for the surface, but only if an output was already assigned.

Add explicit assing output calls to where we relied on
weston_surface_configure() unconditionally assigning the output.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/compositor.c
src/shell.c
src/tablet-shell.c