diff options
author | Markku Vire <markku.vire@movial.fi> | 2007-11-01 22:43:04 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2007-11-04 16:46:21 +0000 |
commit | 3f1b6765aadf665ede8253464da19a5878f16e56 (patch) | |
tree | 3e40144a2b2ddf117db013ee421c810f75d8ab2e /config | |
parent | 41c3069f7cf28155f8e6cfe0c10a12a1f5f76c7d (diff) |
Config: HAL: Touchpads are pointers too
Treat touchpads -- not just mice -- as pointer devices.
Diffstat (limited to 'config')
-rw-r--r-- | config/hal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/hal.c b/config/hal.c index d7835e653..6bb449d5a 100644 --- a/config/hal.c +++ b/config/hal.c @@ -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); |