From d0bdfe300dd636322dedfdc98b9edea2c5f06566 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 22 Dec 2001 07:16:12 +0000 Subject: - 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 --- src/Fl.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl.cxx') 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 $". // -- cgit v1.2.3