diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-04-30 10:47:14 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-01 12:41:09 +1000 |
commit | cc595bd323aab2b0ef7b41fded2f0b5571cf0a8e (patch) | |
tree | edba9f0eb3ee1d8ec7486259183673c15564c088 /src/synproto.h | |
parent | e19fff64f76200291c22d6b822bb4e8b06816745 (diff) |
Reset all hardware state on DEVICE_OFF (#49161)
Reset all state on DeviceOff to avoid stuck buttons on resume.
X.Org Bug 49161 <http://bugs.freedesktop.org/show_bug.cgi?id=49161>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src/synproto.h')
-rw-r--r-- | src/synproto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synproto.h b/src/synproto.h index e16aeb0..7f80bcd 100644 --- a/src/synproto.h +++ b/src/synproto.h @@ -119,6 +119,7 @@ extern struct SynapticsHwState *SynapticsHwStateAlloc(SynapticsPrivate *priv); extern void SynapticsHwStateFree(struct SynapticsHwState **hw); extern void SynapticsCopyHwState(struct SynapticsHwState *dst, const struct SynapticsHwState *src); +extern void SynapticsResetHwState(struct SynapticsHwState *hw); extern void SynapticsResetTouchHwState(struct SynapticsHwState *hw); extern Bool SynapticsIsSoftButtonAreasValid(int *values); |