projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
603ac39
)
middle-button: don't call libinput_now() in the timeout handler
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 3 Aug 2015 04:38:38 +0000
(14:38 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 4 Aug 2015 05:44:39 +0000
(15:44 +1000)
The argument has "now" already
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-middle-button.c
patch
|
blob
|
history
diff --git
a/src/evdev-middle-button.c
b/src/evdev-middle-button.c
index
397b699
..
b833715
100644
(file)
--- a/
src/evdev-middle-button.c
+++ b/
src/evdev-middle-button.c
@@
-640,9
+640,7
@@
evdev_middlebutton_handle_timeout(uint64_t now, void *data)
{
struct evdev_device *device = (struct evdev_device*)data;
- evdev_middlebutton_handle_event(device,
- libinput_now(device->base.seat->libinput),
- MIDDLEBUTTON_EVENT_TIMEOUT);
+ evdev_middlebutton_handle_event(device, now, MIDDLEBUTTON_EVENT_TIMEOUT);
}
static int