Skip to content
  • Martin Flöser's avatar
    Set the restore geometry after placing a ShellClient for the first time · d3741bd5
    Martin Flöser authored
    Summary:
    The restore geometry gets initially set to 0/0xsize before the placement
    is done. When going into updateClientArea and then afterwards into
    AbstractClient::checkWorkspacePosition the geometry restory is used for
    calculating the new position. This results in windows getting moved to
    0/0 when e.g. plugging in a new screen or a panel changes, etc.
    
    This change ensures that the restore geometry is set correctly after the
    first placement.
    
    BUG: 366696
    
    Reviewers: #kwin, #plasma_on_wayland, bshah
    
    Subscribers: plasma-devel, kwin
    
    Tags: #plasma_on_wayland, #kwin
    
    Differential Revision: https://phabricator.kde.org/D2627
    d3741bd5