diff options
author | Geenz <geenz@geenzo.com> | 2013-04-07 11:33:39 -0400 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-04-07 11:33:39 -0400 |
commit | aa0cb35db561004c205c7aac2570407ae88ad472 (patch) | |
tree | f91a5860aa0b445d303e3fa3d08a4124eacb0cd8 /indra/llwindow/llwindowmacosx-objc.mm | |
parent | 5098d43a9be5b9638a8806918e9bb82a096c000f (diff) |
Support the committing of the current pre edit string when language input is interrupted per the viewer's original pre edit functionality.
Diffstat (limited to 'indra/llwindow/llwindowmacosx-objc.mm')
-rw-r--r-- | indra/llwindow/llwindowmacosx-objc.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm index 0eef8c9f83..4bd65ade82 100644 --- a/indra/llwindow/llwindowmacosx-objc.mm +++ b/indra/llwindow/llwindowmacosx-objc.mm @@ -372,6 +372,11 @@ void showInputWindow(bool show) [(LLAppDelegate*)[NSApp delegate] showInputWindow:show]; } +void commitCurrentPreedit(GLViewRef glView) +{ + [(LLOpenGLView*)glView commitCurrentPreedit]; +} + NSWindowRef getMainAppWindow() { LLNSWindow *winRef = [(LLAppDelegate*)[[NSApplication sharedApplication] delegate] window]; |