Skip to content

Commit

Permalink
Mac OS: added support for the text input feature introduced in OS 10.…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Jan 14, 2013
1 parent 482c4a5 commit 9e67096
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Fl_cocoa.mm
Expand Up @@ -2100,6 +2100,10 @@ - (NSUInteger)characterIndexForPoint:(NSPoint)aPoint {
return 0;
}

- (NSInteger)windowLevel {
return [[self window] level];
}

- (NSInteger)conversationIdentifier {
return identifier;
}
Expand Down

0 comments on commit 9e67096

Please sign in to comment.