Skip to content

Commit

Permalink
chore: add missed switch cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Aug 12, 2024
1 parent 440cc99 commit d403a06
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Uno.UI.Runtime.Skia.X11/X11PointerInputSource.XInput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,17 @@ public void HandleXI2Event(XEvent ev)
// used for scrolling. We arbitrarily choose to handle it on the ButtonPress side.
X11XamlRootHost.QueueAction(_host, () => RaisePointerReleased(args));
break;
case XiEventType.XI_TouchBegin:
X11XamlRootHost.QueueAction(_host, () => RaisePointerEntered(args));
X11XamlRootHost.QueueAction(_host, () => RaisePointerPressed(args));
break;
case XiEventType.XI_TouchEnd:
X11XamlRootHost.QueueAction(_host, () => RaisePointerReleased(args));
X11XamlRootHost.QueueAction(_host, () => RaisePointerExited(args));
break;
case XiEventType.XI_TouchUpdate:
X11XamlRootHost.QueueAction(_host, () => RaisePointerMoved(args));
break;
}
}
break;
Expand Down

0 comments on commit d403a06

Please sign in to comment.