Attach to the X server on the active VT and keep a retryable DXGI frame from tearing down the capturer

Claude-Session: https://claude.ai/code/session_01QKDYfH4WKLbpNQHccpVo3P
This commit is contained in:
Viktor Liu
2026-08-29 16:59:05 +02:00
parent 15d6e3bea9
commit fecd7cfff5
17 changed files with 476 additions and 85 deletions
+9 -2
View File
@@ -1116,7 +1116,8 @@ message RespondApprovalRequest {
// when a subsystem awaits user approval for an inbound connection.
string request_id = 1;
// accept is true if the user approved the request, false if they
// denied it. A missing or unknown request_id is treated as a no-op.
// denied it. An unknown request_id is not an error; the response reports
// it as unmatched.
bool accept = 2;
// view_only signals that the user granted the connection but withheld
// input control. Only meaningful when accept is true; ignored when
@@ -1124,4 +1125,10 @@ message RespondApprovalRequest {
bool view_only = 3;
}
message RespondApprovalResponse {}
message RespondApprovalResponse {
// matched is true when request_id named a prompt that was still waiting.
// False means the prompt had already been answered, or had expired and the
// connection was denied: the click had no effect, and the UI should say so
// rather than reporting the outcome the user picked.
bool matched = 1;
}