mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
wayland/lock: handle null window in configure()
Has caused a crash.
This commit is contained in:
1 file changed
+2
@@ -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<qint32>(width), static_cast<qint32>(height));
|
||||
|
||||
Reference in new issue
Block a user