mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 14:30:07 +01:00
Config: HAL: Touchpads are pointers too
Treat touchpads -- not just mice -- as pointer devices.
(cherry picked from commit 3f1b6765aa)
This commit is contained in:
parent
ab80b27250
commit
846745c581
1 changed files with 2 additions and 1 deletions
|
|
@ -177,7 +177,8 @@ device_added(LibHalContext *hal_ctx, const char *udi)
|
|||
if (strcmp(props[i], "input.keys") == 0 ||
|
||||
strcmp(props[i], "input.keyboard") == 0)
|
||||
type |= TYPE_KEYS;
|
||||
if (strcmp(props[i], "input.mouse") == 0)
|
||||
if (strcmp(props[i], "input.mouse") == 0 ||
|
||||
strcmp(props[i], "input.touchpad") == 0)
|
||||
type |= TYPE_POINTER;
|
||||
}
|
||||
libhal_free_string_array(props);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue