From 5703fbae21924c7f65a0d6759a31f51a352f39d2 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Thu, 10 Jul 2025 04:01:00 -0700 Subject: [PATCH] wayland/lock: handle null window in configure() Has caused a crash. --- src/wayland/session_lock/surface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/session_lock/surface.cpp b/src/wayland/session_lock/surface.cpp index a2608dd6..bc0e75dd 100644 --- a/src/wayland/session_lock/surface.cpp +++ b/src/wayland/session_lock/surface.cpp @@ -81,6 +81,8 @@ void QSWaylandSessionLockSurface::ext_session_lock_surface_v1_configure( quint32 width, quint32 height ) { + if (!this->window()) return; + this->ack_configure(serial); this->size = QSize(static_cast(width), static_cast(height));