diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-04-30 11:39:49 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-05-02 10:44:55 +1000 |
commit | d13e83b921a398b9472b07874cf5061c8a0ea6a6 (patch) | |
tree | 41afbb8c81c84c9d86253909a6c9f0d1e85b7ad3 /src/eventcomm.c | |
parent | cc595bd323aab2b0ef7b41fded2f0b5571cf0a8e (diff) |
Force SLOTSTATE_EMPTY on DeviceOff
SLOTSTATE_OPEN_EMPTY on resume leads to erroneously detected touches.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src/eventcomm.c')
-rw-r--r-- | src/eventcomm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c index 741f988..4ef8ad6 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c @@ -662,7 +662,7 @@ EventReadHwState(InputInfoPtr pInfo, SynapticsParameters *para = &priv->synpara; struct eventcomm_proto_data *proto_data = priv->proto_data; - SynapticsResetTouchHwState(hw); + SynapticsResetTouchHwState(hw, FALSE); /* Reset cumulative values if buttons were not previously pressed */ if (!hw->left && !hw->right && !hw->middle) |