mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2026-01-02 18:00:13 +01:00
Init dev->grabbed as LIBEVDEV_UNGRAB
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
51244538b5
commit
4f56b51332
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ libevdev_new(void)
|
|||
dev->num_slots = -1;
|
||||
dev->current_slot = -1;
|
||||
dev->log = libevdev_noop_log_func;
|
||||
dev->grabbed = LIBEVDEV_UNGRAB;
|
||||
|
||||
return dev;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue