Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seat.touch_point_clear_focus: Wrong signature: Takes too many arguments #189

Closed
heuer opened this issue May 5, 2024 · 0 comments · Fixed by #190
Closed

Seat.touch_point_clear_focus: Wrong signature: Takes too many arguments #189

heuer opened this issue May 5, 2024 · 0 comments · Fixed by #190

Comments

@heuer
Copy link
Contributor

heuer commented May 5, 2024

Seat.touch_point_clear takes too many arguments:

def touch_point_clear_focus(
        self,
        surface: Surface,
        time_msec: int,
        touch_id: int,
        surface_x: float,
        surface_y: float,
    ) -> None:

Should be:

def touch_point_clear_focus(self, time_msec: int, touch_id: int) -> None:
heuer added a commit to heuer/pywlroots that referenced this issue May 5, 2024
touch_point_clear_focus took too many arguments like
``surface`` and the surface coordinates. Aligned
the signature to wlr_seat_touch_point_clear_focus.

Closes flacjacket#189
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant