toytoolkit: try multiple names when loading cursors
authorPhilipp Brüschweiler <blei42@gmail.com>
Tue, 21 Aug 2012 18:36:16 +0000 (20:36 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 29 Aug 2012 19:06:09 +0000 (15:06 -0400)
commitbd3f219344eec2706f0b5f2636201f90951fdc33
treedb899a07aed30ce6ac05f62b7b40c9b9bb9e2c77
parentb00e6632f6d64086884a1d35ce7b5ac9c65ca46d
toytoolkit: try multiple names when loading cursors

The correspondence between cursor functions and names of cursors has
never been standardized. As a consequence, each cursor function can be
represented as a cursor with one of several names. Be more robust when
loading cursor by trying all known names that correspond to a cursor.

This should fix https://bugs.freedesktop.org/show_bug.cgi?id=50487
and https://bugs.freedesktop.org/show_bug.cgi?id=52609 a bit more
thoroughly.
clients/window.c