shell-desktop.h: Avoid mass activation of applications from 04/24904/1 10.91.0 10.92.0 10.93.0 11.91.0 11.92.0 12.90.0 9.99.2 9.99.3 9.99.4 jellyfish/9.99.2 jellyfish/9.99.3 jellyfish/9.99.4 jellyfish_9.99.2 jellyfish_9.99.3 jellyfish_9.99.4 koi/10.91.0 koi/10.92.0 koi/10.93.0 koi_10.91.0 koi_10.92.0 koi_10.93.0 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin_12.90.0
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 29 Jun 2020 20:54:18 +0000 (23:54 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Mon, 29 Jun 2020 21:03:27 +0000 (00:03 +0300)
commitac31fb66f46233ba55a414296107637a002b2abd
tree0cba13b6b54da87977c78e6f6d9f2ffb5c2350b1
parent27f1a0931b5374f27a16bdc7f175fd9a1a33665c
shell-desktop.h: Avoid mass activation of applications from
application_id event

I failed to realize that the application_id event is sent at binding,
which is not an issue when launcher is the only application running,
but obviously a big one if multiple surfaces are already present, and
launcher is re-started (so not really something we test).
Added also a note to say a few words about that.

We already activate by default surfaces, and we embedded the activation
call-out into the agl_shell_desktop protocol in that tapShortcut QML, so
we don't actually need further handling. This was just a toy example.

Fix indentation while at it.

Bug-AGL: SPEC-3464

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I46889c5fabdb3936089301b92207b896e4c47ae3
launcher/src/shell-desktop.h