dc0de9ee2b
For views which cover the entire output, we always attempt to place them on the primary plane, to avoid a situation where we place a fullscreen view into an overlay plane and then have to disable the primary plane, which doesn't always work. Move this check earlier, so we don't consider overlay planes to be candidates for fullscreen views. This check should be changed in future to only filter for opaque views, but that's for another time. Signed-off-by: Daniel Stone <daniels@collabora.com>