< prev index next >
src/java.desktop/unix/classes/sun/awt/X11InputMethodBase.java
Print this page
@@ -122,10 +122,13 @@
// private data (X11InputMethodData structure defined in
// awt_InputMethod.c) for native methods
// this structure needs to be accessed within AWT_LOCK/UNLOCK
protected transient long pData = 0; // accessed by native
+ // To keep the activated instance for IM resuming
+ protected static X11InputMethod activatedInstance = null;
+
// Initialize highlight mapping table
static {
@SuppressWarnings({"unchecked", "rawtypes"})
Map<TextAttribute, ?> styles[] = new Map[4];
HashMap<TextAttribute, Object> map;
< prev index next >