mirror of
https://github.com/fltk/fltk.git
synced 2026-06-02 15:46:52 +08:00
Document that Fl::add_fd() opens display under macOS
This commit is contained in:
+3
-1
@@ -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
|
Fl::remove_fd() gets rid of <I>all</I> the callbacks for a given
|
||||||
file descriptor.
|
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,
|
devices, pipes, sockets, etc.). Due to limitations in Microsoft Windows,
|
||||||
Windows applications can only monitor sockets.
|
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)
|
void Fl::add_fd(int fd, int when, Fl_FD_Handler cb, void *d)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user