summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 1ab0118d9..09d42bdd2 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -1380,8 +1380,7 @@ static FLWindowDelegate *flwindowdelegate_instance = nil;
}
- (void)applicationDidUpdate:(NSNotification *)aNotification
{
- if ((fl_mac_os_version >= 100500) && (im_enabled != -1) &&
- (TSMGetActiveDocument != NULL)) {
+ if ((im_enabled != -1) && (TSMGetActiveDocument != NULL)) {
TSMDocumentID newDoc;
// It is extremely unclear when Cocoa decides to create/update
// the input context, but debugging reveals that it is done
@@ -1478,6 +1477,7 @@ static FLWindowDelegate *flwindowdelegate_instance = nil;
@interface FLAppDelegateBefore10_5 : FLAppDelegate
- (void)applicationDidUnhide:(NSNotification *)notify;
+- (void)applicationDidUpdate:(NSNotification *)aNotification;
@end
@implementation FLAppDelegateBefore10_5
- (void)applicationDidUnhide:(NSNotification *)notify
@@ -1490,6 +1490,9 @@ static FLWindowDelegate *flwindowdelegate_instance = nil;
}
fl_unlock_function();
}
+- (void)applicationDidUpdate:(NSNotification *)aNotification
+{
+}
@end
/*