mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 15:10:13 +01: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 &&
|
||||
!tablet_has_status(tablet, TABLET_TOOL_OUT_OF_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,
|
||||
time,
|
||||
tool,
|
||||
LIBINPUT_TABLET_TOOL_PROXIMITY_IN,
|
||||
tablet->changed_axes,
|
||||
axes);
|
||||
else {
|
||||
} else {
|
||||
enum libinput_tablet_tool_tip_state tip_state;
|
||||
|
||||
tip_state = tablet_has_status(tablet, TABLET_TOOL_IN_CONTACT) ?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue