mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
WindowServer: Assume wallpaper images are 1024x768.
This is obviously not always the right thing to do, but it removes some confusion while using other resolutions. Eventually we're gonna need some kind of compressed image decoder.
This commit is contained in:
parent
e241f3a801
commit
e952a35994
Notes:
sideshowbarker
2024-07-19 15:40:35 +09:00
Author: https://github.com/awesomekling
Commit: e952a35994
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ WSWindowManager::WSWindowManager()
|
|||
m_cursor_bitmap_outer = CharacterBitmap::create_from_ascii(cursor_bitmap_outer_ascii, 12, 17);
|
||||
|
||||
m_wallpaper_path = "/res/wallpapers/cool.rgb";
|
||||
m_wallpaper = GraphicsBitmap::load_from_file(m_wallpaper_path, m_screen_rect.size());
|
||||
m_wallpaper = GraphicsBitmap::load_from_file(m_wallpaper_path, { 1024, 768 });
|
||||
|
||||
#ifdef KERNEL
|
||||
ProcFS::the().add_sys_bool("wm_flash_flush", m_flash_flush);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue