提交 261f1f0f 编写于 作者: S serb

8225101: Crash at sun.awt.X11.XlibWrapper.XkbGetUpdatedMap when change keybord map

Reviewed-by: prr, pbansal
上级 4a5057cb
......@@ -2415,6 +2415,7 @@ public final class XToolkit extends UNIXToolkit implements Runnable {
//System.out.println("XkbNewKeyboard:"+(xke.get_new_kbd()));
break;
case XConstants.XkbMapNotify :
if (awt_XKBDescPtr != 0) {
//TODO: provide a simple unit test.
XlibWrapper.XkbGetUpdatedMap(getDisplay(),
XConstants.XkbKeyTypesMask |
......@@ -2422,6 +2423,7 @@ public final class XToolkit extends UNIXToolkit implements Runnable {
XConstants.XkbModifierMapMask |
XConstants.XkbVirtualModsMask,
awt_XKBDescPtr);
}
//System.out.println("XkbMap:"+(xke.get_map()));
break;
case XConstants.XkbStateNotify :
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册