LINUX: Turn off keyboard repeat rate at Window.create too
This commit is contained in:
parent
b641b66e12
commit
1907fb3ff6
|
@ -276,6 +276,7 @@ static void createWindow(JNIEnv* env, int screen, XVisualInfo *vis_info, jstring
|
||||||
XMapRaised(getDisplay(), win);
|
XMapRaised(getDisplay(), win);
|
||||||
waitMapped(win);
|
waitMapped(win);
|
||||||
XClearWindow(getDisplay(), win);
|
XClearWindow(getDisplay(), win);
|
||||||
|
setRepeatMode(AutoRepeatModeOff);
|
||||||
XSync(getDisplay(), True);
|
XSync(getDisplay(), True);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue