mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
WindowManager: Allow compositor to have an empty bitmap as a wallpaper
This will make the compositor draw our colour wallpaper, instead
This commit is contained in:
parent
711bcff0da
commit
19c744ab82
1 changed files with 0 additions and 4 deletions
|
@ -351,10 +351,6 @@ bool Compositor::set_wallpaper(const String& path, Function<void(bool)>&& callba
|
|||
},
|
||||
|
||||
[this, path, callback = move(callback)](RefPtr<Gfx::Bitmap> bitmap) {
|
||||
if (!bitmap) {
|
||||
callback(false);
|
||||
return;
|
||||
}
|
||||
m_wallpaper_path = path;
|
||||
m_wallpaper = move(bitmap);
|
||||
invalidate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue