Skip to content

Commit

Permalink
screencopy: fix missed toplevel activation (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alextibtab authored Oct 26, 2024
1 parent 8f8619f commit ff6b2a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/portals/Screencopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit ff6b2a5

Please sign in to comment.