wayland: set a default for keyboard_repeat/keyboard_rate in case a compostior doesn't send key_repeat_info
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoIxD 2026-05-24 22:54:50 -07:00
commit 052863dcfe

View file

@ -677,6 +677,10 @@ static void widget_setup(MwLL r, MwLL parent, int x, int y, int width, int heigh
MwLLForceRender(parent);
}
/* If the compositor never sets the keyboard repeat info, we'll copy KDE's default of... */
r->wayland.keyboard_delay = 600; /* starting at 600ms... */
r->wayland.keyboard_rate = 25; /* and going every 25ms... */
if(!r->wayland.has_decorations) {
MwLLBeginDraw(r);
MwLLEndDraw(r);