diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2001-12-22 07:16:12 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2001-12-22 07:16:12 +0000 |
| commit | d0bdfe300dd636322dedfdc98b9edea2c5f06566 (patch) | |
| tree | 38b843fb4c8d59b1ea4abb71a9603202deb4b3a3 /src/Fl.cxx | |
| parent | 1eb5acf22eeacb783b950655314e142b4b5a89a6 (diff) | |
- MacOS: more keyboard handler fixes, mainly mapping of Mac specific
keys and iBook keys, several fixes to keyboard focus.
Happy Holidays!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl.cxx')
| -rw-r--r-- | src/Fl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 9667e02b8..4c3dc6d9b 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.41.2.14 2001/12/18 11:00:09 matthiaswm Exp $" +// "$Id: Fl.cxx,v 1.24.2.41.2.15 2001/12/22 07:16:12 matthiaswm Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -696,8 +696,8 @@ void Fl_Window::hide() { fl_gc = 0; } #elif defined(__APPLE__) - //++ Matt: I have not checked yet what we need to do here - Fl::handle(FL_UNFOCUS, this); + if ( x->xid == fl_window ) + fl_window = 0; #else if (x->region) XDestroyRegion(x->region); #endif @@ -851,5 +851,5 @@ void Fl_Window::flush() { } // -// End of "$Id: Fl.cxx,v 1.24.2.41.2.14 2001/12/18 11:00:09 matthiaswm Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.41.2.15 2001/12/22 07:16:12 matthiaswm Exp $". // |
