mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-25 23:45:58 +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.output = restoreData.output;
|
||||||
SHAREDATA.windowHandle = (zwlr_foreign_toplevel_handle_v1*)restoreData.windowHandle;
|
SHAREDATA.windowHandle = (zwlr_foreign_toplevel_handle_v1*)restoreData.windowHandle;
|
||||||
SHAREDATA.type = restoreData.windowHandle ? TYPE_WINDOW : TYPE_OUTPUT;
|
SHAREDATA.type = restoreData.windowHandle ? TYPE_WINDOW : TYPE_OUTPUT;
|
||||||
|
SHAREDATA.allowToken = true; // user allowed token before
|
||||||
PSESSION->cursorMode = restoreData.withCursor;
|
PSESSION->cursorMode = restoreData.withCursor;
|
||||||
} else {
|
} else {
|
||||||
Debug::log(LOG, "[screencopy] restore data invalid / missing, prompting");
|
Debug::log(LOG, "[screencopy] restore data invalid / missing, prompting");
|
||||||
|
|
Loading…
Reference in a new issue