Skip to content
  • David Edmundson's avatar
    Don't scale resolution dependent cursor size twice · b300229c
    David Edmundson authored
    Summary:
    If the env var is 0 we calculate the cursor size based on the
    physical resolution.
    
    The size is multiplied by the output scale.
    
    Either would make sense, together does not and reuslts in kwin
    having massive cursors.
    
    This patch is for 5.13.
    
    For master I intend to kill this concept of "resolution dependent size"
    on the KCM. We then should do wayland scaling on cursors properly no matter
    what size the user selects which will work better for when we have
    multiple screens.
    
    I have a WIP patch pending for the latter, but it's too big for here.
    It still involves deleting this code.
    
    Reviewers: #plasma, romangg
    
    Reviewed By: #plasma, romangg
    
    Subscribers: romangg, kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D13267
    b300229c