mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
fix(slock): protocol error when session lock is reconfigured
This commit is contained in:
1 file changed
+2
-1
@@ -94,7 +94,8 @@ void QSWaylandSessionLockSurface::ext_session_lock_surface_v1_configure(
|
||||
this->window()->handleExpose(QRect(QPoint(), this->size));
|
||||
if (this->visible) this->initVisible();
|
||||
} else {
|
||||
this->window()->applyConfigureWhenPossible();
|
||||
// applyConfigureWhenPossible runs too late and causes a protocol error on reconfigure.
|
||||
this->window()->resizeFromApplyConfigure(this->size);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user