Skip to content
  • David Edmundson's avatar
    Remove pointless setMin/setMax size on DesktopView · c96a9f5a
    David Edmundson authored
    Summary:
    On X, this is entirely useless.There's a special code path in create for
    windowType == Desktop and in ::setGeometry it doesn't seem to help/hinder.
    It's not like we need WM_NORMAL_HINTS for a WM to resize us.
    
    On wayland it's downright destructive.
    On the second setGeometry call the QPA bounds the new geography to the
    current min/max (from our previous screenGeometryChanged). But updating
    the min/max doesn't update our geometry. End result is our screen is
    off.
    
    Test Plan:
    Resized screen on Wayland. Wallpaper now filled exactly instead of being broken
    Resized screen on Xcb. Wallpaper still filled the screen precisely
    
    Reviewers: #plasma
    
    Subscribers: plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D13850
    c96a9f5a