Skip to content
  • Martin Flöser's avatar
    Migrate effects from displayWidth()/displayHeight() to virtualScreenSize()/virtualScreenGeometry() · 3f0ff9b8
    Martin Flöser authored
    Rational behind this change is that displayWidth and displayHeight are
    X specific API calls in kwinglobals. For the future it's easier to only
    rely on functionality which goes through the EffectsHandler API which
    allows easier adjustments in KWin core.
    
    displayWidth() and displayHeight() are only used to get the size or the
    complete rect of all screens. This is also provided by:
    
    effects->virtualScreenGeometry() or
    effects->virtualScreenSize()
    
    REVIEW: 116021
    3f0ff9b8