main: Handle terminating event 98/29598/1
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 15 Jan 2024 15:14:22 +0000 (17:14 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Mon, 15 Jan 2024 16:34:46 +0000 (18:34 +0200)
commit18b0219570009e67ed0df596f5fa145dd29eed6e
tree5393e933b2c1e8d7b4af8077b4de063483ed66bc
parent45fe29549378629ef5952a62e12887f007ce89f5
main: Handle terminating event

This breaks start/terminate/stop cycle when moving windows to another
output. Due to the way that dynamic movement of windows takes place we
also need to handle termination.

This was an oversight from when adding gRPC proxy.

Fixes: 5d6e250cf1175ede ("AglShellGrpcClient: Activate windows with gRPC")

Bugt-AGL: SPEC-5049
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic19a13fce155e706fb1f9e9dac798667a592a48a
homescreen/src/main.cpp