Skip to content

core: Preserve focus across decoration changes

Carlos Garnacho requested to merge wip/carlosg/issue-273 into master

Changes in window decoration result in the window being reparented in and out its frame. This in turn causes unmap/map events, and XI_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.

Closes: #273 (closed)

Merge request reports