mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-06-04 01:28:35 -04:00
Fix build with Qt 6.7
This also fixes a hypothetical case of a layer shell with subsurfaces and matches the call made by xdgshell after the first configure.
This commit is contained in:
parent
ad5246f0d0
commit
8926b64225
@ -96,7 +96,7 @@ void QWaylandLayerSurface::zwlr_layer_surface_v1_configure(uint32_t serial, uint
|
|||||||
if (!m_configured) {
|
if (!m_configured) {
|
||||||
m_configured = true;
|
m_configured = true;
|
||||||
window()->resizeFromApplyConfigure(m_pendingSize);
|
window()->resizeFromApplyConfigure(m_pendingSize);
|
||||||
window()->handleExpose(QRect(QPoint(), m_pendingSize));
|
window()->sendRecursiveExposeEvent();
|
||||||
} else {
|
} else {
|
||||||
// Later configures are resizes, so we have to queue them up for a time when we
|
// Later configures are resizes, so we have to queue them up for a time when we
|
||||||
// are not painting to the window.
|
// are not painting to the window.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user