mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-31 03:00:08 +01:00
touchpad: remove two unused functions
These functions have been unused since 1668cd5e81
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9564b3c1e2
commit
2cf38f45a5
1 changed files with 0 additions and 17 deletions
|
|
@ -101,15 +101,6 @@ is_inside_bottom_middle_area(const struct tp_dispatch *tp,
|
|||
t->point.x > tp->buttons.bottom_area.middlebutton_left_edge;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
is_inside_bottom_left_area(const struct tp_dispatch *tp,
|
||||
const struct tp_touch *t)
|
||||
{
|
||||
return is_inside_bottom_button_area(tp, t) &&
|
||||
!is_inside_bottom_middle_area(tp, t) &&
|
||||
!is_inside_bottom_right_area(tp, t);
|
||||
}
|
||||
|
||||
static inline bool
|
||||
is_inside_top_button_area(const struct tp_dispatch *tp,
|
||||
const struct tp_touch *t)
|
||||
|
|
@ -125,14 +116,6 @@ is_inside_top_right_area(const struct tp_dispatch *tp,
|
|||
t->point.x > tp->buttons.top_area.rightbutton_left_edge;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
is_inside_top_left_area(const struct tp_dispatch *tp,
|
||||
const struct tp_touch *t)
|
||||
{
|
||||
return is_inside_top_button_area(tp, t) &&
|
||||
t->point.x < tp->buttons.top_area.leftbutton_right_edge;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
is_inside_top_middle_area(const struct tp_dispatch *tp,
|
||||
const struct tp_touch *t)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue