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:
baldurk committed 2022-01-12 11:24:22 +00:00
1 parent 3587f8e448
commit 089126c34b
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)