diff --git a/Qt/QtMain.cpp b/Qt/QtMain.cpp index 2c4789d482..9782032d27 100644 --- a/Qt/QtMain.cpp +++ b/Qt/QtMain.cpp @@ -174,6 +174,11 @@ float System_GetPropertyFloat(SystemProperty prop) { return QApplication::primaryScreen()->logicalDotsPerInch(); case SYSPROP_DISPLAY_DPI: return QApplication::primaryScreen()->physicalDotsPerInch(); + case SYSPROP_DISPLAY_SAFE_INSET_LEFT: + case SYSPROP_DISPLAY_SAFE_INSET_RIGHT: + case SYSPROP_DISPLAY_SAFE_INSET_TOP: + case SYSPROP_DISPLAY_SAFE_INSET_BOTTOM: + return 0.0f; default: return -1; } diff --git a/SDL/SDLMain.cpp b/SDL/SDLMain.cpp index 2639a5a23a..82651123ea 100644 --- a/SDL/SDLMain.cpp +++ b/SDL/SDLMain.cpp @@ -337,6 +337,11 @@ float System_GetPropertyFloat(SystemProperty prop) { switch (prop) { case SYSPROP_DISPLAY_REFRESH_RATE: return g_RefreshRate; + case SYSPROP_DISPLAY_SAFE_INSET_LEFT: + case SYSPROP_DISPLAY_SAFE_INSET_RIGHT: + case SYSPROP_DISPLAY_SAFE_INSET_TOP: + case SYSPROP_DISPLAY_SAFE_INSET_BOTTOM: + return 0.0f; default: return -1; } diff --git a/Windows/main.cpp b/Windows/main.cpp index e0a6e21806..73938e6093 100644 --- a/Windows/main.cpp +++ b/Windows/main.cpp @@ -248,6 +248,11 @@ float System_GetPropertyFloat(SystemProperty prop) { return 60.f; case SYSPROP_DISPLAY_DPI: return (float)ScreenDPI(); + case SYSPROP_DISPLAY_SAFE_INSET_LEFT: + case SYSPROP_DISPLAY_SAFE_INSET_RIGHT: + case SYSPROP_DISPLAY_SAFE_INSET_TOP: + case SYSPROP_DISPLAY_SAFE_INSET_BOTTOM: + return 0.0f; default: return -1; }