diff --git a/wlroots/wlr_types/pointer.py b/wlroots/wlr_types/pointer.py index 63d0c16c..68280576 100644 --- a/wlroots/wlr_types/pointer.py +++ b/wlroots/wlr_types/pointer.py @@ -6,7 +6,7 @@ import enum 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 ButtonState, InputDevice @@ -27,7 +27,7 @@ class AxisOrientation(enum.IntEnum): HORIZONTAL = lib.WLR_AXIS_ORIENTATION_HORIZONTAL -class Pointer(Ptr): +class Pointer(PtrHasData): def __init__(self, ptr) -> None: self._ptr = ptr