app: Fix resizing to window/float and set it up if user requests it 82/29482/2
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 27 Nov 2023 14:37:09 +0000 (16:37 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Tue, 5 Dec 2023 15:55:55 +0000 (17:55 +0200)
commita7b8d60c62554b4571e0155ce44794b123cf1c09
tree59f32bfe79e716b7862482d82cc5228cf2e768b3
parent5be991ce27c966a4d87a6b0cc8bdbbd46e18c427
app: Fix resizing to window/float and set it up if user requests it

Make use of the gRPC API and allow the user to start the camera as
floating/dialog type of window.

This has the side effect requiring  an initial resize values.  We didn't
need to do that because we always had to be resized to a maximum but now
we need to have an initial value as well.

Bug-AGL: SPEC-4987
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3df8f0887425d461b6d812a429da6ce10fa1e00d
app/main.cpp