Skip to content

Commit

Permalink
Merge pull request #190 from heuer/touch_clear_focus
Browse files Browse the repository at this point in the history
Fixed signature of Seat.touch_point_clear_focus
  • Loading branch information
flacjacket committed May 12, 2024
2 parents f00de20 + 5dfd84c commit ae5399d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
0.16.9 -- 2024-mm-dd
--------------------
* Fixed ``Seat.touch_point_clear_focus``: The method took too many arguments
which were not aligned to the wlroots counterpart and lead to a runtime error.
* This is probably the last 0.16 release unless there are important bugs to fix.
Since Linux distributions are phasing out support for wlroots 0.16, projects
should move to pywlroots 0.17 once this version is released


0.16.8 -- 2024-05-04
--------------------
* Fixed: ``XdgTopLevel.parent`` always returnd a parent even if the parent is NULL.
Expand Down
7 changes: 1 addition & 6 deletions wlroots/wlr_types/seat.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,16 +400,11 @@ def touch_point_focus(

def touch_point_clear_focus(
self,
surface: Surface,
time_msec: int,
touch_id: int,
surface_x: float,
surface_y: float,
) -> None:
"""Clear the focused surface for the touch point given by `touch_id`."""
lib.wlr_seat_touch_point_clear_focus(
self._ptr, surface._ptr, time_msec, touch_id, surface_x, surface_y
)
lib.wlr_seat_touch_point_clear_focus(self._ptr, time_msec, touch_id)

def touch_notify_cancel(self, surface: Surface):
"""Notify the seat that this is a global gesture and the client should
Expand Down

0 comments on commit ae5399d

Please sign in to comment.