compositor-drm: Fix cursor view size check
authorDaniel Stone <daniels@collabora.com>
Tue, 16 Jun 2015 17:42:23 +0000 (18:42 +0100)
committerDaniel Stone <daniels@collabora.com>
Thu, 16 Jul 2015 15:46:21 +0000 (16:46 +0100)
commit70d337dfd2a961368d298c14dfb0d68882c67653
treefde7f2468dbc791699b197c380e03bd9ce67c27b
parent36609c740fa20a97481c0776fe14f279f00b8014
compositor-drm: Fix cursor view size check

Instead of testing against a hardcoded 64x64 pixel size to see if a view
is suitable for promotion to a cursor plane, use our cursor_width and
cursor_height variables.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
src/compositor-drm.c