From 9e67096dbb79935cb526a825e6f5319aabd4a65c Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 14 Jan 2013 09:07:34 +0000 Subject: [PATCH] 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. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 2188c7e6b..49dbb5034 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2100,6 +2100,10 @@ static void q_set_window_title(NSWindow *nsw, const char * name, const char *mi return 0; } +- (NSInteger)windowLevel { + return [[self window] level]; +} + - (NSInteger)conversationIdentifier { return identifier; }