Skip to content
Discussion options

You must be logged in to vote

so yeah test

diff --git a/src/protocols/core/Compositor.cpp b/src/protocols/core/Compositor.cpp
index d1efe2e8..5309d872 100644
--- a/src/protocols/core/Compositor.cpp
+++ b/src/protocols/core/Compositor.cpp
@@ -128,6 +128,13 @@ CWLSurfaceResource::CWLSurfaceResource(SP<CWlSurface> resource_) : m_resource(re
             (!m_pending.buffer && !m_pending.texture) // null buffer attached
         ) {
             commitState(m_pending);
+
+            if  (!m_pending.buffer && !m_pending.texture) {
+            // null buffer attached, remove any pending states.
+                while (!m_pendingStates.empty()) {
+                    m_pendingStates.pop();
+                }
+            }
…

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@vaxerski
Comment options

@vaxerski
Comment options

@gulafaran
Comment options

@gulafaran
Comment options

@vaxerski
Comment options

Comment options

You must be logged in to vote
2 replies
@abenz1267
Comment options

@gulafaran
Comment options

Answer selected by abenz1267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants