mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-05 21:55:24 +00:00
Conditionalize weird redraw issue observed on FreeBSD.
This commit is contained in:
parent
a64a7c97b9
commit
aa59abd031
@ -419,7 +419,13 @@ void Window::Redraw() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this->frame) {
|
if (this->frame) {
|
||||||
|
#ifdef __FreeBSD__
|
||||||
|
/* somehow related to curses version, but i don't know how;
|
||||||
|
if we don't do this on FreeBSD we get missing background
|
||||||
|
colors for things like overlays. if we do this on other
|
||||||
|
platforms we get weird repainting artifacts. */
|
||||||
this->RepaintBackground();
|
this->RepaintBackground();
|
||||||
|
#endif
|
||||||
this->OnRedraw();
|
this->OnRedraw();
|
||||||
this->Invalidate();
|
this->Invalidate();
|
||||||
this->isDirty = false;
|
this->isDirty = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user