contrib/fltk/fltk-1.3.3-fl_open_display.patch
2016-04-01 16:53:42 +11:00

11 lines
210 B
Diff

--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -2211,6 +2211,7 @@
static int result = -1;
if (result == -1) {
+ fl_open_display();
result = 0;
unsigned long nitems;
unsigned long *words = 0;