summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-08-19 13:34:10 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-08-19 13:34:10 +0000
commitedbf9ae51038df85c81840b3b8b9bfe616692f53 (patch)
treecc231d133bfdff06c0410a5de5baf617f6a01f02 /src
parentd5a6cf798c75f4f664f9745aabcd26960f5d4ac7 (diff)
Fixed focus issues on OSX (str #1377)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_mac.cxx1
1 files changed, 1 insertions, 0 deletions
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))
{