• Alberts Muktupāvels's avatar
    core: preserve focus across decoration changes · c8235d44
    Alberts Muktupāvels authored
    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:
    mutter@8dcac664
    c8235d44
display.c 167 KB