Browse Source

Workaround for zynaddsubfx.

tags/v1.3.1001
Jonathan Moore Liles 4 years ago
parent
commit
cea9a11b9e
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      src/Fl_Window.cxx

+ 6
- 1
src/Fl_Window.cxx View File

@@ -108,7 +108,12 @@ void Fl_Window::draw() {

if ( damage() & ~FL_DAMAGE_CHILD) { // draw the entire thing
// /* always draw the box because the children may be transparent */
draw_box(box(),0,0,w(),h(),color()); // draw box with x/y = 0
draw_box(
/* workaround for ZynAddSubFX */
FL_NO_BOX == box() && NULL == Fl::scheme_bg_
? FL_FLAT_BOX
: box(),
0,0,w(),h(),color()); // draw box with x/y = 0
}
draw_children();



Loading…
Cancel
Save