mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
WindowServer: Initial wallpaper must not be NULL
This used to crash 'pape -c' on a fresh image. Note that the special value is '', the empty string, and *not* NULL, i.e. an unset string. An empty string implies that the wallpaper is not an image, but rather a solid color.
This commit is contained in:
parent
3852168c84
commit
4427da989f
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ private:
|
|||
Gfx::IntRect m_last_dnd_rect;
|
||||
Gfx::IntRect m_last_geometry_label_rect;
|
||||
|
||||
String m_wallpaper_path;
|
||||
String m_wallpaper_path { "" };
|
||||
WallpaperMode m_wallpaper_mode { WallpaperMode::Unchecked };
|
||||
RefPtr<Gfx::Bitmap> m_wallpaper;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue