summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES1
-rw-r--r--src/Fl_mac.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 6b7680dec..0f8ddd7a9 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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
diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx
index 38244c317..b710deb05 100644
--- a/src/Fl_mac.cxx
+++ b/src/Fl_mac.cxx
@@ -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))
{