[PATCH weston 5/6] xwayland: set cursor size for libXcursor

Tiago Vignatti tiago.vignatti at intel.com
Wed Jul 11 14:46:14 PDT 2012


32 is consistent with toytoolkit.

Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
 src/xwayland/launcher.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/xwayland/launcher.c b/src/xwayland/launcher.c
index 035c8e3..37b1d54 100644
--- a/src/xwayland/launcher.c
+++ b/src/xwayland/launcher.c
@@ -360,6 +360,9 @@ weston_xserver_init(struct weston_compositor *compositor)
 	weston_log("xserver listening on display %s\n", display_name);
 	setenv("DISPLAY", display_name, 1);
 
+	/* we should make it configurable though or guess it based on dpi */
+	setenv("XCURSOR_SIZE", "32", 1);
+
 	mxs->loop = wl_display_get_event_loop(display);
 	mxs->abstract_source =
 		wl_event_loop_add_fd(mxs->loop, mxs->abstract_fd,
-- 
1.7.9.5



More information about the wayland-devel mailing list