From 56ee01bc8c414521de7ebc5097185faab09abb1d Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Fri, 26 Jul 2024 14:54:45 +0200 Subject: [PATCH] vbox6: clear screen on guest triggered blanking An invalid bitmap is exactly once set during blanking, use this as hint to clear the GUI content. Same as done in vbox5. Fixes #5263 --- repos/ports/src/virtualbox6/include/fb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/repos/ports/src/virtualbox6/include/fb.h b/repos/ports/src/virtualbox6/include/fb.h index 6fba107e33..1ef22a3bb3 100644 --- a/repos/ports/src/virtualbox6/include/fb.h +++ b/repos/ports/src/virtualbox6/include/fb.h @@ -214,6 +214,7 @@ class Genodefb : Lock(); if (_display_bitmap.isNull()) { + _clear_screen(); Unlock(); return S_OK; }