cursor spec
Philipp A.
flying-sheep at web.de
Mon Apr 7 08:38:10 PDT 2014
2014-04-07 15:15 GMT+02:00 Jerome Leclanche <adys.wh at gmail.com>:
> All the web browsers already use the same convention, don't they? If
> so, it should probably be added, yes.
> J. Leclanche
>
they use the name in the CSS, but implementations are… complicated.
under the hood, firefox and chrome use gdk_cursor_new, which does NOT use
the spec names (e.g. it uses “plus”, not “cell”)
the gdk cursor type is a direct mirror of the XLib constants, and indeed
gdk_cursor_new thinly wraps XLib
https://developer.gnome.org/gdk3/stable/gdk3-Cursors.html#GdkCursorType
however, i got a patch in that adds more robust behavior to firefox:
https://hg.mozilla.org/mozilla-central/rev/068ed8d0e7c2
i’ll file another bug with patch to get in vertical-text and the zoom
things once the latter are added to the spec.
2014-04-07 16:24 GMT+02:00 Bastien Nocera <hadess at hadess.net>:
> Are there implementations already using this?
>
> We'd be happy having this added in GNOME.
>
> Cheers
>
i researched a bit, and there are quite a few cursor themes which do have
it, and all use zoom-in and zoom-out (except for one, that uses zoomIn and
zoomOut. but since no other cursor has camelCase, i think we should ignore
that)
i think toolkit maintainers are hesistant to add support until there’s some
agreed-upon name (that’s speculation, though)
best, phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20140407/1bcf3df9/attachment-0001.html>
More information about the xdg
mailing list