mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 13:31:41 +00:00
Only accept usable bounds if they differ from the full bounds
Some platforms (Wayland) just report the full display area, so we incorrectly assume the entire display is usable for a window. Fixes #2056
This commit is contained in:
1 parent
74020b537b
commit
d79536b56d
3 files changed
+84
-23
No files matched your search
@@ -12,6 +12,7 @@ namespace WMUtils {
|
||||
bool isRunningWayland();
|
||||
bool isRunningWindowManager();
|
||||
bool isRunningDesktopEnvironment();
|
||||
bool hasDisplayUsableBounds();
|
||||
QString getDrmCardOverride();
|
||||
bool isGpuSlow();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user