drm: Don't use the cursor overlay if the scale doesn't match
authorNeil Roberts <neil@linux.intel.com>
Thu, 1 May 2014 17:00:41 +0000 (18:00 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 1 May 2014 20:47:12 +0000 (13:47 -0700)
commitf37f82ccf9bf8b11c35f04e51b5705abbc047596
tree43e47ac1b515a9695ca4dd4be0f04554c7676d4e
parenteb5a200807b59cb8613d7c9a3ceed795699801f7
drm: Don't use the cursor overlay if the scale doesn't match

If the scale for the cursor surface doesn't match that of the output
then we shouldn't use the cursor overlay because otherwise it will be
drawn at the wrong size. This problem is particularly noticable with
multiple pointers because it randomly alternates between drawing one
cursor or the other at a larger size depending on which one gets put
in the cursor overlay.
src/compositor-drm.c