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 :)
This commit is contained in:
Nico Weber 2021-01-15 19:04:53 -05:00 committed by Andreas Kling
parent f37f281f89
commit d7a3128c1d
Notes: sideshowbarker 2024-07-18 23:09:17 +09:00

View File

@ -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()