Skip to content

Commit

Permalink
Merge pull request #175 from heuer/issue_173
Browse files Browse the repository at this point in the history
Pointer: Provide data property. Closes #173
  • Loading branch information
flacjacket authored Apr 16, 2024
2 parents f301081 + 5712b42 commit acb12ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wlroots/wlr_types/pointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit acb12ea

Please sign in to comment.