Skip to content

Commit

Permalink
Added missing type hint for the surface height
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Apr 7, 2024
1 parent fa87266 commit 1f90c6e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion wlroots/wlr_types/session_lock_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,12 @@ def current_state(self) -> SessionLockSurfaceV1State:
def pending_state(self) -> SessionLockSurfaceV1State:
return SessionLockSurfaceV1State(self._ptr.pending)

def configure(self, width: int, height) -> int:
def configure(self, width: int, height: int) -> int:
"""
Configures the width and height of the surface.
Returns the configure serial.
"""
return lib.wlr_session_lock_surface_v1_configure(self._ptr, width, height)

@staticmethod
Expand Down

0 comments on commit 1f90c6e

Please sign in to comment.