diff options
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index b6f0fe69b..dde61972d 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -927,6 +927,10 @@ void Fl_Window::hide() { *pp = ip->next; #ifdef __APPLE__ MacUnlinkWindow(ip); + // MacOS X manages a single pointer per application. Make sure that hiding + // a toplevel window will not leave us with some random pointer shape, or + // worst case, an invisible pointer + if (!parent()) cursor(FL_CURSOR_DEFAULT); #endif i = 0; |
