Created attachment 175518 [details] Test program demonstrating issue with FL_CURSOR_NONE With the current version of FLTK (1.3.3_2) on FreeBSD 10.3, when a top-level Fl_Window's cursor is set like this: window->cursor(FL_CURSOR_NONE) there is no change to the window's cursor, it remains the same. If you set with other cursors, such as FL_CURSOR_CROSS, _MOVE, etc, the cursor *does* change, but FL_CURSOR_NONE has no effect. When tested on Debian Linux 8 (Jessie), FL_CURSOR_NONE works properly. Please find a test program attached. Thank you.
I presume it happens when using FLTK installed from binary packages, not from the ports? It looks like binary packages would miss Xinerama and Xcursor dependencies and thus giving you the behavior you're seeing. While I'm working out the final fix, could you change the following line in port's Makefile as shown: > USE_XORG= x11 xcursor xext xfixes xft xinerama Then rebuild and reinstall the package, or simply install directly from the port, and report if the problem is gone?
A commit references this bug: Author: danfe Date: Tue Nov 22 12:04:48 UTC 2016 New revision: 426818 URL: https://svnweb.freebsd.org/changeset/ports/426818 Log: x11-toolkits/fltk: ensure that binary packages have complete feature support Previously, binary packages would miss Xinerama and Xcursor dependencies and thus were giving some odd behaviors as e.g. reported in the PR. While here, switch to USES+=localbase instead of manually amending CPPFLAGS and LDFLAGS. PR: 213294 Changes: head/x11-toolkits/fltk/Makefile
Assume fixed as of ports r426818 due to lack of feedback.
(In reply to Alexey Dokuchaev from comment #3) Sorry, didn't receive notification about your comments. I will test later and if any problems, will comment. Thanks!