cursor spec

Philipp A. flying-sheep at web.de
Thu Apr 10 04:10:02 PDT 2014


Hi,

So what’s going on?

Does any one of you have edit rights on that wiki and wants to put it in?

I’d like to patch firefox with it once it’s nailed down, and i think the
evidence of usage is enough.

Best, phil




2014-04-07 17:38 GMT+02:00 Philipp A. <flying-sheep at web.de>:

> 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/20140410/c1772ee7/attachment.html>


More information about the xdg mailing list