Commit c8235d44 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

core: preserve focus across decoration changes

Changes in window decoration result in the window being reparented
in and out its frame. This in turn causes unmap/map events, and
FocusOut if the window happened to be focused.

In order to preserve the focused window across the decoration change,
add a flag so that the focus may be restored on MapNotify.

Based on mutter commit:
parent d820fce9
Pipeline #114849 passed with stage
in 13 minutes and 13 seconds