diff options
author | Nico Weber <thakis@chromium.org> | 2021-01-15 19:04:53 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-17 08:06:12 +0100 |
commit | d7a3128c1dc522ae9da1fe23f27afc7347ee9987 (patch) | |
tree | 2900251147bc126dd72cb9c43cbee69d1ca98ae5 /Userland | |
parent | f37f281f89e925d68502fdfddaf4b4d591a83404 (diff) | |
download | serenity-d7a3128c1dc522ae9da1fe23f27afc7347ee9987.zip |
DisplaySettings: Add more resolution choices
These are 2x the smallest 4 resolutions. When picking one of these
in 1x and then half the size in 2x, the window server adjust the
ui scale factor, but the actual framebuffer size doesn't change.
2560x1440 also happens to be 5k resolution and monitors with that
resolution do exist -- so that seems like a good upper limit :)
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applications/DisplaySettings/DisplaySettings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Applications/DisplaySettings/DisplaySettings.cpp b/Userland/Applications/DisplaySettings/DisplaySettings.cpp index 20bb7f4e9c..8ad1c01f91 100644 --- a/Userland/Applications/DisplaySettings/DisplaySettings.cpp +++ b/Userland/Applications/DisplaySettings/DisplaySettings.cpp @@ -64,13 +64,17 @@ void DisplaySettingsWidget::create_resolution_list() m_resolutions.append({ 1024, 768 }); m_resolutions.append({ 1280, 720 }); m_resolutions.append({ 1280, 768 }); + m_resolutions.append({ 1280, 960 }); m_resolutions.append({ 1280, 1024 }); m_resolutions.append({ 1360, 768 }); m_resolutions.append({ 1368, 768 }); m_resolutions.append({ 1440, 900 }); m_resolutions.append({ 1600, 900 }); + m_resolutions.append({ 1600, 1200 }); m_resolutions.append({ 1920, 1080 }); + m_resolutions.append({ 2048, 1152 }); m_resolutions.append({ 2560, 1080 }); + m_resolutions.append({ 2560, 1440 }); } void DisplaySettingsWidget::create_wallpaper_list() |