Magellan Linux

Annotation of /trunk/xorg-server/patches/xorg-server-1.4.99.901-no-evdev-keyboards.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 522 - (hide annotations) (download)
Sun Mar 23 22:58:36 2008 UTC (16 years, 3 months ago) by niro
File size: 943 byte(s)
-no evdev support for keyboards, just too broken

1 niro 522 From 3d914c2c1d24886ea81bf70de224370ebdf73b6d Mon Sep 17 00:00:00 2001
2     From: Adam Jackson <ajax@redhat.com>
3     Date: Tue, 18 Mar 2008 15:11:13 -0400
4     Subject: [PATCH] Disable evdev for keyboards.
5    
6     Hrngh argh hatred.
7     ---
8     config/hal.c | 3 ---
9     1 files changed, 0 insertions(+), 3 deletions(-)
10    
11     diff --git a/config/hal.c b/config/hal.c
12     index 1575422..dcbf715 100644
13     --- a/config/hal.c
14     +++ b/config/hal.c
15     @@ -177,9 +177,6 @@ device_added(LibHalContext *hal_ctx, const char *udi)
16     /* input.keys is the new, of which input.keyboard is a subset, but
17     * input.keyboard is the old 'we have keys', so we have to keep it
18     * around. */
19     - if (strcmp(props[i], "input.keys") == 0 ||
20     - strcmp(props[i], "input.keyboard") == 0)
21     - type |= TYPE_KEYS;
22     if (strcmp(props[i], "input.mouse") == 0 ||
23     strcmp(props[i], "input.touchpad") == 0)
24     type |= TYPE_POINTER;
25     --
26     1.5.4.3
27