Fix bug in cursor handling.
authorThomas Klausner <wiz@NetBSD.org>
Wed, 4 Sep 2013 18:05:51 +0000 (20:05 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 5 Sep 2013 21:04:18 +0000 (07:04 +1000)
commit47218a6e09549781fd61dbf5e0d3d5c81da64323
tree2d7cb0b29dc1b63c214debddf144d670e2c64da0
parent1110b71e360195aab040d835b54540ab558638c5
Fix bug in cursor handling.

CreateCursor (Xlib call XCreatePixmapCursor) with a non-bitmap
source pixmap and a None mask is supposed to error out with BadMatch,
but didn't.

From der Mouse <mouse@Rodents-Montreal.ORG>, changed following
comments by Alan Coopersmith <alan.coopersmith@oracle.com>.

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
dix/dispatch.c