Call set_toplevel properly to fix apps on weston
Call set_toplevel properly to fix apps on weston

Due to a misplaced else branch set_toplevel was not called at
all. This resulted in not setting up the surface properly in Weston
(no output was assigned), leading to not sending any frame callbacks
to the apps which then got to wait forever in waitForFrameSync().

Change-Id: I37d7b53a8cca59be71fe358543a488382cb0d4dd
Reviewed-by: Samuel Rødal <99126055f8d73e4355b075213322026fa8c060bd@nokia.com>

locusf/qtwayland-1,ntanibata/qtwayland,locusf/qtwayland-1,locusf/qtwayland-1,Tofee/qtwayland,Tofee/qtwayland,Tofee/qtwayland,ntanibata/qtwayland,ntanibata/qtwayland,locusf/qtwayland-1