mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
tools: un-typedef TouchpadState
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user