Skip to content
Commit 5ee29ce8 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Fix getting the last configure event

If there's only one configure event that changes the position of the
window and it gets acknowledged but no buffer is attached yet, and a new
configure is sent, then the ConfigurePosition flag won't be inherited
by the new configure event and the window will be misplaced.

In order to fix that, this change makes XdgSurfaceClient pop the last
acknowledged configure event from the m_configureEvents list only when
it's about to be applied for sure.

BUG: 448856


(cherry picked from commit b9b73570)
parent f2b0ef88
Pipeline #128242 failed with stage
in 56 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment