• Peter Hutterer's avatar
    Apply the capabilities checks on subdevices when applying the config · 9d9f59fd
    Peter Hutterer authored
    Properties are initialized on the correct devices only but on resume we'd just
    blindly apply the config from our device. Depending on the resume order, this
    would mean we'd apply a previously set config with a default config.
    * pointer device with keyboard subdevice
    * pointer device exports natural scrolling, keyboard device does not and
      remains at default (off)
    * client enables natural scrolling on the pointer device
    * VT switch away, VT switch back
    * pointer device gets enabled first, enables natural scrolling on the
      libinput device
    * keyboard device gets enabled second, resets to the default value
    Reported-by: yshui's avatarYuxuan Shui <yshuiv7@gmail.com>
    Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    Tested-by: yshui's avatarYuxuan Shui <yshuiv7@gmail.com>
Last commit
Last update
Makefile.am Loading commit data...
bezier.c Loading commit data...
bezier.h Loading commit data...
draglock.c Loading commit data...
draglock.h Loading commit data...
xf86libinput.c Loading commit data...