added XkbSetDetectableAutoRepeat to xlib port for getting key press
events right way
This commit is contained in:
parent
0b085de372
commit
afc47e5268
@ -105,6 +105,8 @@ void DG_Init()
|
|||||||
|
|
||||||
XSetForeground(s_Display, s_Gc, whiteColor);
|
XSetForeground(s_Display, s_Gc, whiteColor);
|
||||||
|
|
||||||
|
XkbSetDetectableAutoRepeat(s_Display, 1, 0);
|
||||||
|
|
||||||
// Wait for the MapNotify event
|
// Wait for the MapNotify event
|
||||||
|
|
||||||
while(1)
|
while(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user