Skip to content
Commit 43cac750 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
parent 4cda16ce
Pipeline #341393 canceled with stage
in 14 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