mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-09-23 07:39:08 +00:00
don't run keybindings on keyrepeat while locked
This commit is contained in:
@@ -1830,7 +1830,7 @@ int
|
|||||||
keyrepeat(void *data)
|
keyrepeat(void *data)
|
||||||
{
|
{
|
||||||
KeyboardGroup *group = data;
|
KeyboardGroup *group = data;
|
||||||
if (group->wlr_group->keyboard.repeat_info.rate <= 0)
|
if (locked || group->wlr_group->keyboard.repeat_info.rate <= 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
wl_event_source_timer_update(group->key_repeat_source,
|
wl_event_source_timer_update(group->key_repeat_source,
|
||||||
|
|||||||
Reference in New Issue
Block a user