summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-05-23 14:23:00 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-05-31 15:13:41 +1000
commit9ae890cf4e5df184f68799d534fa6aa67c36301b (patch)
tree27316750befe8e0bcd5713ae1d2a2b6efbb8bf5d /tools
parent0d9996da02493bed8931663bb3d724e30bd56877 (diff)
tools: un-typedef TouchpadState
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/syndaemon.c8
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