Fix regression seen with test/input under X11: the cursor becomes a grey square instead of FL_CURSOR_NONE

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2018-08-03 18:54:08 +00:00
parent 643bb3bbbb
commit 61e53a8cd4
+2 -2
View File
@@ -203,8 +203,8 @@ int fl_convert_pixmap(const char*const* cdata, uchar* out, Fl_Color bg) {
// assume "None" or "#transparent" for any errors
// "bg" should be transparent...
Fl::get_color(bg, c[0], c[1], c[2]);
uchar **m = fl_graphics_driver->mask_bitmap();
c[3] = (m && !*m) ? 255 : 0;
//uchar **m = fl_graphics_driver->mask_bitmap();
c[3] = /*(m && !*m) ? 255 :*/ 0;
if (Fl_Graphics_Driver::need_pixmap_bg_color) transparent_c = c;
} // if parse
} // for ncolors