Skip to content
  • Martin Flöser's avatar
    Remove non visible internal windows from the x stacking order · 8d4204ac
    Martin Flöser authored
    Summary:
    KWin always has a few internal windows around which are not visible.
    A QWindow created somewhere, but not shown. Such windows should not
    be part of the stacking order.
    
    If they are it breaks code which looks at the top most window in the
    stacking order like e.g. SlidebackEffect.
    
    This change ensures that the stacking order gets updated whenever a
    ShellClient gets hidden and that internal windows with isShown being
    false are excluded from the stacking order.
    
    BUG: 364483
    
    Reviewers: #kwin, #plasma_on_wayland
    
    Subscribers: plasma-devel, kwin
    
    Tags: #plasma_on_wayland, #kwin
    
    Differential Revision: https://phabricator.kde.org/D2636
    8d4204ac