Skip to content
  • Martin Flöser's avatar
    Remove displayWidth and displayHeight from the compositor · bf4ba546
    Martin Flöser authored
    Instead of getting size from displayWidth() and displayHeight() use
    the information we have from Screens. This means there is only one
    place to have the information and by that we can ensure that all
    components use the same data to rely on. displayWidth/displayHeight
    seem to provide the wrong information when unplugging an output
    without disabling the output. This results in rendering artefacts.
    But KWin::Screens has the correct information available.
    bf4ba546