Skip to content
Commit 81ff7e63 authored by Samuel Dionne-Riel's avatar Samuel Dionne-Riel Committed by Vlad Zahorodnii
Browse files

libinput/connection: Ensure touchpad defaults are used



The previous logic would set `defaults` to the last found group.

Since a touchpad is a pointer, it would set `defaults` to point
to `[Libinput][Defaults][Pointer]`, and thus the next clause would
try to find `[Libinput][Defaults][Pointer][Touchpad]`, instead of the
expected `[Libinput][Defaults][Touchpad]`. That is, only if a default
was set for Pointer.

Signed-off-by: default avatarSamuel Dionne-Riel <samuel@dionne-riel.com>
parent 5cab7c79
Pipeline #278106 passed with stage
in 15 minutes and 46 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment