Skip to content
  • Olivier Fourdan's avatar
    window: unmanage dialog when clearing transient_for · b443bd42
    Olivier Fourdan authored
    On Wayland, xdg-foreign would leave a modal dialog managed even after
    the imported surface is destroyed.
    
    This is sub-optimal and this breaks the atomic relationship one would
    expect between the parent and its modal dialog.
    
    Make sure we unmanage the dialog if transient_for is unset even for
    Wayland native windows.
    
    Related: #174
    Related: #221
    b443bd42