aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/main.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-02-15 18:40:03 +0200
committerMarius Vlad <marius.vlad@collabora.com>2023-02-15 18:45:05 +0200
commit4c7852e6ff7fde510f4f11c21bec817583397951 (patch)
tree1c790b5396f03186636d4a3c7599d5df2156ca4a /homescreen/src/main.cpp
parent7ff53ae1b58a16e7fb7603195e71c510dbec4ae8 (diff)
homescreenhandler: Avoid using a stale wl_output
Rather than storing wl_output when creating a HomeScreenHandler object, retrieve the output at activation. Presumably, we could use Screen and from there get it but seems to be easier this way. Re-plugging the connector back and forth would result in a stale wl_output, so this would retrieve it always as the currently enabled/active one. Bug-AGL: SPEC-4705 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id54c1f253b094e196c6bd367c7419c0ec5860d5f
Diffstat (limited to 'homescreen/src/main.cpp')
0 files changed, 0 insertions, 0 deletions