cocoa-cb: force layer update on resize

this fixes some race condition where the content of the layer wasn't
updated because the size didn't changed and the layer was already marked
as updated. just force an update on reconfig.

Fixes #7989
This commit is contained in:
der richter 2020-08-15 14:14:23 +02:00
parent 6c83e91e11
commit 0cea7b9ffb
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class CocoaCB: Common {
} else {
DispatchQueue.main.async {
self.updateWindowSize(vo)
self.layer?.update()
self.layer?.update(force: true)
}
}
}