mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 22:30:04 -04:00
make x11 keyboard repeat detectable
This commit is contained in:
@@ -1406,6 +1406,8 @@ extern "C" {
|
||||
pub fn glXMakeCurrent(dpy: *mut Display, drawable: GLXDrawable,
|
||||
ctx: GLXContext) -> Bool;
|
||||
pub fn glXSwapBuffers(dpy: *mut Display, drawable: GLXDrawable);
|
||||
|
||||
pub fn XkbSetDetectableAutoRepeat(dpy: *mut Display, detectable: bool, supported_rtm: *mut bool) -> bool;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1462,4 +1464,4 @@ extern const char *glXGetClientString( Display *dpy, int name );
|
||||
|
||||
extern Display *glXGetCurrentDisplay( void );
|
||||
|
||||
*/
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user