diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-24 14:02:17 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-24 14:02:17 +0200 |
commit | abbcdba72e63f223c4207242f6d776abb6fdaa8b (patch) | |
tree | 5c918be5a4eb81579d5cb96518c53af6e9085900 /Servers | |
parent | 982335475412083f5ae5386cb332f75dee4042fb (diff) | |
download | serenity-abbcdba72e63f223c4207242f6d776abb6fdaa8b.zip |
WindowServer: Add 2560x1440 resolution option.
Also expand the QEMU VGA memory size to 64 MB, since otherwise we won't
have enough memory for double-buffering the screen.
Diffstat (limited to 'Servers')
-rw-r--r-- | Servers/WindowServer/WSWindowManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Servers/WindowServer/WSWindowManager.cpp b/Servers/WindowServer/WSWindowManager.cpp index 0f6aba62f3..ab5a22e1fb 100644 --- a/Servers/WindowServer/WSWindowManager.cpp +++ b/Servers/WindowServer/WSWindowManager.cpp @@ -126,6 +126,7 @@ WSWindowManager::WSWindowManager() m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, 103, "1280x720")); m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, 104, "1440x900")); m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, 105, "1920x1080")); + m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, 106, "2560x1440")); m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, WSMenuItem::Separator)); m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, 200, "About...")); m_system_menu->on_item_activation = [this, apps] (WSMenuItem& item) { @@ -143,6 +144,7 @@ WSWindowManager::WSWindowManager() case 103: set_resolution(1280, 720); break; case 104: set_resolution(1440, 900); break; case 105: set_resolution(1920, 1080); break; + case 106: set_resolution(2560, 1440); break; } if (item.identifier() == 200) { if (fork() == 0) { |