Use the new, double-add protected hook functions

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/365/head
Gergely Nagy 8 years ago
parent 6d2587f7af
commit dcd8d8405e

@ -62,7 +62,7 @@ MouseKeys_::MouseKeys_(void) {
void void
MouseKeys_::begin (void) { MouseKeys_::begin (void) {
event_handler_hook_add (handleMouseKeys); event_handler_hook_use (handleMouseKeys);
} }
MouseKeys_ MouseKeys; MouseKeys_ MouseKeys;

Loading…
Cancel
Save