This repository was archived by the owner on Feb 2, 2023. It is now read-only.
File tree 2 files changed +5
-5
lines changed
src/java.desktop/macosx/native/libawt_lwawt/awt
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 37
37
38
38
// TODO: NSMenu *contextualMenu;
39
39
40
- // Keyboard layout
41
- NSString *kbdLayout;
42
-
43
40
// dnd support (see AppKit/NSDragging.h, NSDraggingSource/Destination):
44
41
CDragSource *_dragSource;
45
42
CDropTarget *_dropTarget;
Original file line number Diff line number Diff line change 37
37
38
38
#import < Carbon/Carbon.h>
39
39
40
+ // keyboard layout
41
+ static NSString *kbdLayout;
42
+
40
43
@interface AWTView ()
41
44
@property (retain ) CDropTarget *_dropTarget;
42
45
@property (retain ) CDragSource *_dragSource;
@@ -1010,7 +1013,7 @@ - (void) insertText:(id)aString replacementRange:(NSRange)replacementRange
1010
1013
[self abandonInput ];
1011
1014
}
1012
1015
1013
- - (void )keyboardInputSourceChanged : (NSNotification *)notification
1016
+ + (void )keyboardInputSourceChanged : (NSNotification *)notification
1014
1017
{
1015
1018
#ifdef IM_DEBUG
1016
1019
NSLog (@" keyboardInputSourceChangeNotification received" );
@@ -1327,7 +1330,7 @@ - (NSUInteger)characterIndexForPoint:(NSPoint)thePoint
1327
1330
CHECK_EXCEPTION ();
1328
1331
1329
1332
#ifdef IM_DEBUG
1330
- fprintf (stderr, " characterIndexForPoint returning %ld \n " , index );
1333
+ fprintf (stderr, " characterIndexForPoint returning %d \n " , index );
1331
1334
#endif // IM_DEBUG
1332
1335
1333
1336
if (index == -1 ) {
You can’t perform that action at this time.
0 commit comments