opnsense-ports/deskutils/easystroke/files/patch-handler.cc
Franco Fichtner 58099d7aef */*: sync with upstream
Taken from: FreeBSD
2017-05-31 06:14:34 +02:00

11 lines
367 B
C++

--- handler.cc.orig 2013-03-27 15:52:38 UTC
+++ handler.cc
@@ -533,8 +533,6 @@ class WaitForPongHandler : public Handler, protected T
virtual Grabber::State grab_mode() { return parent->grab_mode(); }
};
-static inline float abs(float x) { return x > 0 ? x : -x; }
-
class AbstractScrollHandler : public Handler {
bool have_x, have_y;
float last_x, last_y;