diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-23 14:23:00 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-31 14:56:49 +1000 |
commit | 3d58b68f9dd60b1e044eade34694a751cf76a4bc (patch) | |
tree | ae0d3e877bd1ad986ce626b9b481290337118085 | |
parent | e254d058faaa4529003a45faf683a032d5dd86c1 (diff) |
tools: un-typedef TouchpadState
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | tools/syndaemon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/syndaemon.c b/tools/syndaemon.c index d24f09c..50b7435 100644 --- a/tools/syndaemon.c +++ b/tools/syndaemon.c @@ -47,11 +47,11 @@ #include "synaptics-properties.h" -typedef enum { +enum TouchpadState { TouchpadOn = 0, TouchpadOff = 1, TappingOff = 2 -} TouchpadState; +}; static Bool pad_disabled /* internal flag, this does not correspond to device state */ ; @@ -62,8 +62,8 @@ static const char *pid_file; static Display *display; static XDevice *dev; static Atom touchpad_off_prop; -static TouchpadState previous_state; -static TouchpadState disable_state = TouchpadOff; +static enum TouchpadState previous_state; +static enum TouchpadState disable_state = TouchpadOff; static int verbose; #define KEYMAP_SIZE 32 |