Fixed focus issues on OSX (str #1377)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2006-08-19 13:34:10 +00:00
parent d5a6cf798c
commit edbf9ae510
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
CHANGES IN FLTK 1.1.8
- Fixed focus issues on OS X (STR #1377)
- Optional precission argument when storing floats or
doubles in a Preferences file (STR #1381)
- Fixed callback not called when using arrow keys

View File

@ -1840,6 +1840,7 @@ void Fl_X::make(Fl_Window* w)
if (w->non_modal() && !w->modal()) {
// Major kludge: this is to have the regular look, but stay above the document windows
SetWindowClass(x->xid, kFloatingWindowClass);
SetWindowActivationScope(x->xid, kWindowActivationScopeAll);
}
if (!(w->flags() & Fl_Window::FL_FORCE_POSITION))
{