Skip to content

Commit

Permalink
Merge pull request #152 from heuer/issue_147
Browse files Browse the repository at this point in the history
Removed Seat property "has_grab" in favour of more explicit methods.
  • Loading branch information
flacjacket authored Mar 18, 2024
2 parents 4f66c06 + 9830857 commit 311673b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions wlroots/wlr_types/seat.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,6 @@ def grab(self) -> KeyboardGrab:
"""Start a grab of the keyboard of this seat"""
return KeyboardGrab(self)

@property
def has_grab(self) -> bool:
"""Whether or not the keyboard has a grab other than the default grab"""
return lib.wlr_seat_keyboard_has_grab(self._ptr)

def keyboard_notify_key(self, key_event: KeyboardKeyEvent) -> None:
"""Notify the seat that a key has been pressed on the keyboard
Expand Down

0 comments on commit 311673b

Please sign in to comment.