Skip to content
  • Carlos Garnacho's avatar
    core: Preserve focus across decoration changes · 8dcac664
    Carlos Garnacho authored and Carlos Garnacho's avatar Carlos Garnacho committed
    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
    8dcac664