|
|
commit 95f926fd0191c6d1db93028e1134799f46f5506e
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Mon Jan 30 07:39:20 2023 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Mon Jan 30 07:39:20 2023 +0100
Document that Fl::add_fd() opens display under macOS
src/Fl.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git src/Fl.cxx src/Fl.cxx
index 7fc7a93..1bbe955 100644
--- src/Fl.cxx
+++ src/Fl.cxx
@@ -2081,9 +2081,11 @@ int Fl::clipboard_contains(const char *type)
Fl::remove_fd() gets rid of <I>all</I> the callbacks for a given
file descriptor.
- Under UNIX/Linux/MacOS <I>any</I> file descriptor can be monitored (files,
+ Under UNIX/Linux/macOS <I>any</I> file descriptor can be monitored (files,
devices, pipes, sockets, etc.). Due to limitations in Microsoft Windows,
Windows applications can only monitor sockets.
+
+ Under macOS, Fl::add_fd() opens the display if that's not been done before.
*/
void Fl::add_fd(int fd, int when, Fl_FD_Handler cb, void *d)
{
[ Direct Link to Message ] | |
|
| |