After wayland-cursor changes, this allows users to configure cursor size for 
toytoolkit with the XCURSOR_SIZE environment variable as documented in weston's 
man page.
---
 clients/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/window.c b/clients/window.c
index 249ba6f..29201fe 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -1108,7 +1108,7 @@ create_cursors(struct display *display)
        parse_config_file(config_file, cs, ARRAY_LENGTH(cs), NULL);
        free(config_file);
 
-       display->cursor_theme = wl_cursor_theme_load(theme, 32, display->shm);
+       display->cursor_theme = wl_cursor_theme_load(theme, 0, display->shm);
        display->cursors =
                malloc(ARRAY_LENGTH(cursors) * sizeof display->cursors[0]);
 
-- 
1.8.1.4

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to