Skip to content
Commit 81782b38 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Guard against calling set_size while applying a configure event more explicitly

Depending on code path taken, geometry.size() == m_pendingSize can
produce incorrect results.

If a configure event is applied, it's fine.

If the window is resized by user, m_pendingSize will have outdated value,
and setWindowGeometry() can ignore future size updates that are valid.

In hindsight, we need special hooks in the QWaylandWindow to request and
apply new geometry. Rather than have one function that deals with all cases.


(cherry picked from commit 127d817a)
parent 4dfa7b53
Pipeline #651310 passed with stage
in 48 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