mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
Qt: Fix power off system hotkey when fullscreen
This commit is contained in:
@@ -2871,7 +2871,7 @@ void Host::ReleaseRenderWindow()
|
||||
bool Host::CanChangeFullscreenMode(bool new_fullscreen_state)
|
||||
{
|
||||
// Don't mess with fullscreen while locked.
|
||||
return !QtHost::IsSystemLocked();
|
||||
return (!new_fullscreen_state || !QtHost::IsSystemLocked());
|
||||
}
|
||||
|
||||
void EmuThread::updatePerformanceCounters(const GPUBackend* gpu_backend)
|
||||
|
||||
Reference in New Issue
Block a user