mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 13:38:40 +02:00
tablet: add two missing curly braces
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8829f4b691
commit
be520bf6e0
1 changed files with 3 additions and 2 deletions
|
|
@ -399,14 +399,15 @@ tablet_check_notify_axes(struct tablet_dispatch *tablet,
|
||||||
if (axis_update_needed &&
|
if (axis_update_needed &&
|
||||||
!tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY) &&
|
!tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY) &&
|
||||||
!tablet_has_status(tablet, TABLET_TOOL_LEAVING_PROXIMITY)) {
|
!tablet_has_status(tablet, TABLET_TOOL_LEAVING_PROXIMITY)) {
|
||||||
if (tablet_has_status(tablet, TABLET_TOOL_ENTERING_PROXIMITY))
|
if (tablet_has_status(tablet,
|
||||||
|
TABLET_TOOL_ENTERING_PROXIMITY)) {
|
||||||
tablet_notify_proximity(&device->base,
|
tablet_notify_proximity(&device->base,
|
||||||
time,
|
time,
|
||||||
tool,
|
tool,
|
||||||
LIBINPUT_TABLET_TOOL_PROXIMITY_IN,
|
LIBINPUT_TABLET_TOOL_PROXIMITY_IN,
|
||||||
tablet->changed_axes,
|
tablet->changed_axes,
|
||||||
axes);
|
axes);
|
||||||
else {
|
} else {
|
||||||
enum libinput_tablet_tool_tip_state tip_state;
|
enum libinput_tablet_tool_tip_state tip_state;
|
||||||
|
|
||||||
tip_state = tablet_has_status(tablet, TABLET_TOOL_IN_CONTACT) ?
|
tip_state = tablet_has_status(tablet, TABLET_TOOL_IN_CONTACT) ?
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue