Skip to content

Commit

Permalink
Changed return statement of Seat.pointer_has_grab to boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Mar 12, 2024
1 parent 95e36b7 commit ce34996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wlroots/wlr_types/seat.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def pointer_notify_frame(self) -> None:

def pointer_has_grab(self) -> bool:
"""Whether or not the pointer has a grab other than the default grab"""
lib.wlr_seat_pointer_has_grab(self._ptr)
return lib.wlr_seat_pointer_has_grab(self._ptr)

def set_keyboard(self, keyboard: Keyboard | None) -> None:
"""Set this keyboard as the active keyboard for the seat
Expand Down

0 comments on commit ce34996

Please sign in to comment.