mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-03 23:39:41 +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) {
|
||||
#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();
|
||||
#endif
|
||||
this->OnRedraw();
|
||||
this->Invalidate();
|
||||
this->isDirty = false;
|
||||
|
Loading…
Reference in New Issue
Block a user