From d7a3128c1dc522ae9da1fe23f27afc7347ee9987 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 15 Jan 2021 19:04:53 -0500 Subject: [PATCH] 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 :) --- Userland/Applications/DisplaySettings/DisplaySettings.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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()