screencopy: fix missed toplevel activation (#283)

This commit is contained in:
Alex C 2024-10-26 21:27:22 +01:00 committed by GitHub
parent 8f8619fe03
commit ff6b2a51e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,6 +34,8 @@ static sdbus::Struct<std::string, uint32_t, sdbus::Variant> getFullRestoreStruct
dbUasv CScreencopyPortal::onCreateSession(sdbus::ObjectPath requestHandle, sdbus::ObjectPath sessionHandle, std::string appID,
std::unordered_map<std::string, sdbus::Variant> 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());