mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-21 22:25:58 +01:00
screencopy: fix missed toplevel activation (#283)
This commit is contained in:
parent
8f8619fe03
commit
ff6b2a51e9
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue