mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-22 17:59:47 +01:00
parent
536e6ed570
commit
7596dec7be
1 changed files with 1 additions and 0 deletions
|
@ -474,6 +474,7 @@ void CScreencopyPortal::onSelectSources(sdbus::MethodCall& call) {
|
|||
SHAREDATA.output = restoreData.output;
|
||||
SHAREDATA.windowHandle = (zwlr_foreign_toplevel_handle_v1*)restoreData.windowHandle;
|
||||
SHAREDATA.type = restoreData.windowHandle ? TYPE_WINDOW : TYPE_OUTPUT;
|
||||
SHAREDATA.allowToken = true; // user allowed token before
|
||||
PSESSION->cursorMode = restoreData.withCursor;
|
||||
} else {
|
||||
Debug::log(LOG, "[screencopy] restore data invalid / missing, prompting");
|
||||
|
|
Loading…
Reference in a new issue