mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
* Fix CComponents::getScreen()/hide() & CComponentsItem::hideCCItem()
- Use CFrameBuffer::waitForIdle() to ensure that all GXA commands are finished before SaveScreen() / RestoreScreen() is executed
This commit is contained in:
@@ -112,6 +112,7 @@ void CComponentsItem::hideCCItem(bool no_restore)
|
||||
is_painted = false;
|
||||
|
||||
if (saved_screen.pixbuf) {
|
||||
frameBuffer->waitForIdle("CComponentsItem::hideCCItem()");
|
||||
frameBuffer->RestoreScreen(saved_screen.x, saved_screen.y, saved_screen.dx, saved_screen.dy, saved_screen.pixbuf);
|
||||
if (no_restore) {
|
||||
delete[] saved_screen.pixbuf;
|
||||
|
Reference in New Issue
Block a user