From 1f90c6e6352b54636b95652470d4e6e92d44da72 Mon Sep 17 00:00:00 2001 From: Lars Date: Sun, 7 Apr 2024 19:18:01 +0200 Subject: [PATCH] Added missing type hint for the surface height --- wlroots/wlr_types/session_lock_v1.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wlroots/wlr_types/session_lock_v1.py b/wlroots/wlr_types/session_lock_v1.py index 3f18ee62..8dc423bb 100644 --- a/wlroots/wlr_types/session_lock_v1.py +++ b/wlroots/wlr_types/session_lock_v1.py @@ -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