diff --git a/internal/restorable/image.go b/internal/restorable/image.go index eab5ccc9b..b974283f1 100644 --- a/internal/restorable/image.go +++ b/internal/restorable/image.go @@ -169,9 +169,11 @@ func NewImage(width, height int, imageType ImageType) *Image { } var attribute string - switch imageType { - case ImageTypeVolatile: - attribute = "volatile" + if needsRestoration() { + switch imageType { + case ImageTypeVolatile: + attribute = "volatile" + } } i := &Image{ image: graphicscommand.NewImage(width, height, imageType == ImageTypeScreen, attribute),