From ff6b2a51e95ca4ac590801e626c5ef777283a0fe Mon Sep 17 00:00:00 2001 From: Alex C <48660540+Alextibtab@users.noreply.github.com> Date: Sat, 26 Oct 2024 21:27:22 +0100 Subject: [PATCH] screencopy: fix missed toplevel activation (#283) --- src/portals/Screencopy.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/portals/Screencopy.cpp b/src/portals/Screencopy.cpp index b418f23..6fd6dfc 100644 --- a/src/portals/Screencopy.cpp +++ b/src/portals/Screencopy.cpp @@ -34,6 +34,8 @@ static sdbus::Struct getFullRestoreStruct dbUasv CScreencopyPortal::onCreateSession(sdbus::ObjectPath requestHandle, sdbus::ObjectPath sessionHandle, std::string appID, std::unordered_map opts) { + g_pPortalManager->m_sHelpers.toplevel->activate(); + Debug::log(LOG, "[screencopy] New session:"); Debug::log(LOG, "[screencopy] | {}", requestHandle.c_str()); Debug::log(LOG, "[screencopy] | {}", sessionHandle.c_str());