From ccfd10dda949b70f0df456536e548bf976ae5623 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 15 Feb 2023 18:40:03 +0200 Subject: 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 Change-Id: Id54c1f253b094e196c6bd367c7419c0ec5860d5f (cherry picked from commit 4c7852e6ff7fde510f4f11c21bec817583397951) --- homescreen/src/homescreenhandler.h | 1 - 1 file changed, 1 deletion(-) (limited to 'homescreen/src/homescreenhandler.h') diff --git a/homescreen/src/homescreenhandler.h b/homescreen/src/homescreenhandler.h index 751457e..a2baeb2 100644 --- a/homescreen/src/homescreenhandler.h +++ b/homescreen/src/homescreenhandler.h @@ -40,7 +40,6 @@ public slots: private: ApplicationLauncher *mp_launcher; AppLauncherClient *mp_applauncher_client; - struct wl_output *m_output; Shell *aglShell; -- cgit 1.2.3-korg