Skip to content

Commit

Permalink
Merge pull request #179 from heuer/issue_178_touch_data
Browse files Browse the repository at this point in the history
Added missing Touch.data property
  • Loading branch information
flacjacket authored Apr 16, 2024
2 parents 64d03cd + 5fbdaac commit c2455ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wlroots/wlr_types/touch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

from weakref import WeakKeyDictionary

from wlroots import Ptr, ffi, lib, str_or_none
from wlroots import Ptr, PtrHasData, ffi, lib, str_or_none

from .input_device import InputDevice

_weakkeydict: WeakKeyDictionary = WeakKeyDictionary()


class Touch(Ptr):
class Touch(PtrHasData):
def __init__(self, ptr) -> None:
self._ptr = ptr

Expand Down

0 comments on commit c2455ae

Please sign in to comment.