diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-07-04 15:41:37 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-08-11 19:56:16 +1000 |
commit | 5af236a022e4838fe598ecce3328d0000418397c (patch) | |
tree | 7315c30643c5ccc510b528222a3b196ef8319b24 /src/evdev-mt-touchpad-buttons.c | |
parent | 4b94fc62737ef53b5fcc52d49a6907ad41604d47 (diff) | |
download | libinput-5af236a022e4838fe598ecce3328d0000418397c.tar.gz |
evdev: switch three ints to booleans
And a minor rename to make it more obvious
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev-mt-touchpad-buttons.c')
-rw-r--r-- | src/evdev-mt-touchpad-buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c index d8ce10be..b59cf13a 100644 --- a/src/evdev-mt-touchpad-buttons.c +++ b/src/evdev-mt-touchpad-buttons.c @@ -1056,7 +1056,7 @@ tp_notify_clickpadbutton(struct tp_dispatch *tp, } /* Ignore button events not for the trackpoint while suspended */ - if (tp->device->suspended) + if (tp->device->is_suspended) return 0; /* A button click always terminates edge scrolling, even if we |