Skip to content

Avoid creating Unmanaged for reparented window

Vlad Zahorodnii requested to merge work/mr/6618 into master

When a mapped window doing reparent, xorg will generate a unmap and map sequence.

In KWin, If a mapped Unmanaged is doing reparent, KWin will receive a unmap and map sequence because KWin won't release the Unmanaged immediately. When the MapNotify comes, its parent is not longer the root window. However, KWin still create an Unmanaged to manage it. As a result, a ghost Unmanaged remains in the list.

Merge request reports

Loading