Host: Add GetTopLevelWindowInfo()
And use it for screensaver inhibiting on Linux.
This commit is contained in:
@ -964,9 +964,9 @@ void Host::SetFullscreen(bool enabled)
|
||||
g_nogui_window->SetFullscreen(enabled);
|
||||
}
|
||||
|
||||
void* Host::GetTopLevelWindowHandle()
|
||||
std::optional<WindowInfo> Host::GetTopLevelWindowInfo()
|
||||
{
|
||||
return g_nogui_window->GetPlatformWindowHandle();
|
||||
return g_nogui_window->GetPlatformWindowInfo();
|
||||
}
|
||||
|
||||
void Host::RequestExit(bool save_state_if_running)
|
||||
|
||||
Reference in New Issue
Block a user