wayland: Clean up key repeat timeout

When returning G_SOURCE_REMOVE from a callback, we need
to reset the source id as well.
This commit is contained in:
Matthias Clasen 2016-03-04 13:54:39 -05:00
parent 4d2e7a0314
commit 69479ceaef

View File

@ -1804,6 +1804,8 @@ keyboard_repeat (gpointer data)
&sync_after_repeat_callback_listener,
device);
device->repeat_timer = 0;
return G_SOURCE_REMOVE;
}