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

wayland: Fix xdg-toplevel and xdg-popup window initialization

Buggy clients can commit the wl_surface several times in a row. On the
other hand, XdgToplevelInterface and XdgPopupInterface consider a
surface to be initialized if it has been configured. If the second
wl_surface commit comes before the configure event is sent, kwin will
initialize a toplevel or popup twice, which can trigger asserts.

BUG: 466530
(cherry picked from commit 43cac750)
parent 548ccc80
Pipeline #341479 passed with stage
in 17 minutes and 8 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