Author: manolo
Date: 2013-01-14 01:07:34 -0800 (Mon, 14 Jan 2013)
New Revision: 9793
Log:
Mac OS: added support for the text input feature introduced in OS 10.7 "Lion" 
where pressing and holding
some key opens a window with possible accented characters: added [NSView 
windowLevel] useful for
fullscreen windows.

Modified:
   branches/branch-1.3/src/Fl_cocoa.mm

Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2013-01-13 15:25:37 UTC (rev 9792)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2013-01-14 09:07:34 UTC (rev 9793)
@@ -2100,6 +2100,10 @@
   return 0;
 }
 
+- (NSInteger)windowLevel {
+  return [[self window] level];
+}
+
 - (NSInteger)conversationIdentifier {
   return identifier;
 }

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to