diff options
-rw-r--r-- | Userland/Services/WindowServer/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/Compositor.cpp b/Userland/Services/WindowServer/Compositor.cpp index 26e4e74834..40860fa334 100644 --- a/Userland/Services/WindowServer/Compositor.cpp +++ b/Userland/Services/WindowServer/Compositor.cpp @@ -320,7 +320,7 @@ void Compositor::compose() painter.draw_tiled_bitmap(rect, *m_wallpaper); } else if (m_wallpaper_mode == WallpaperMode::Stretch) { VERIFY(screen.compositor_screen_data().m_wallpaper_bitmap); - painter.blit(rect.location(), *screen.compositor_screen_data().m_wallpaper_bitmap, rect); + painter.blit(rect.location(), *screen.compositor_screen_data().m_wallpaper_bitmap, rect.translated(-screen.location())); } else { VERIFY_NOT_REACHED(); } |