mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 00:03:42 +00:00
Add a new in-app API function ShowReplayUI to raise the UI window
* This is not guaranteed to work, e.g. on windows where for good reason background windows can't necessarily raise themselves.
This commit is contained in:
11 files changed
+158
-38
No files matched your search
@@ -1390,6 +1390,11 @@ void LiveCapture::connectionThreadEntry()
|
||||
uint32_t windows = msg.capturableWindowCount;
|
||||
GUIInvoke::call(this, [this, windows]() { ui->cycleActiveWindow->setEnabled(windows > 1); });
|
||||
}
|
||||
|
||||
if(msg.type == TargetControlMessageType::RequestShow)
|
||||
{
|
||||
GUIInvoke::call(this, [this]() { m_Main->BringToFront(); });
|
||||
}
|
||||
}
|
||||
|
||||
if(conn)
|
||||
|
||||
Reference in new issue
Block a user