aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-17 09:42:34 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-17 09:42:34 +0100
commit929402828d99810211c644ce4ecf07b98013be10 (patch)
tree92a085eb71c7e918e130514de226b5736826237a
parentaa5f8cdd1a3195a3f81d3be8a5f74325304fe1d1 (diff)
Window: implement function to disable key repeat
m---------depends/mgl0
-rw-r--r--src/window/Window.cpp3
2 files changed, 1 insertions, 2 deletions
diff --git a/depends/mgl b/depends/mgl
-Subproject ff24e4c604479fdcedfacca35af3bb4810683c6
+Subproject a14eb65e82d226fe8b33ca23d29eeba02066357
diff --git a/src/window/Window.cpp b/src/window/Window.cpp
index ee984fd..d19d3c8 100644
--- a/src/window/Window.cpp
+++ b/src/window/Window.cpp
@@ -83,9 +83,8 @@ namespace mgl {
mgl_window_set_framerate_limit(&window, fps);
}
- // TODO: Implement
void Window::set_key_repeat_enabled(bool enabled) {
-
+ mgl_window_set_key_repeat_enabled(&window, enabled);
}
void Window::set_cursor_visible(bool visible) {