Hi, I was looking at why gtk+ clients use a different cursor theme and size than other (toytoolkit) clients. gtk+ hardcodes the cursor size to 32 as it has no way to get the preferred (default) size from the compositor.
I guess one solution would be to have get_default_cursor_theme and get_default_cursor_size requests in the desktop-shell interface that desktop compositors implement. Then clients can get those values and respect them if they so desire (and they probably do). Or we could make this more general as in bug 49021[0] and have a "settings" interface. Thoughts? BTW while at this I've made weston respect a new cursor-size config key (similar to the current undocumented cursor-theme). See also this analysis by MoD[1] and his two patches[2][3] (that apparently went unnoticed) that also try to put some order to cursor configuration. Regards, Emilio [0] https://bugs.freedesktop.org/show_bug.cgi?id=49021 [1] http://lists.freedesktop.org/archives/wayland-devel/2013-February/007532.html [2] http://lists.freedesktop.org/archives/wayland-devel/2013-February/007609.html [3] http://lists.freedesktop.org/archives/wayland-devel/2013-February/007610.html _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
