Set XCURSOR_SIZE

This commit is contained in:
Nikita Ivanov 2023-05-28 19:09:38 +02:00 committed by Leonardo Hernández
parent a5e45924ed
commit f8884ffc2b

1
dwl.c
View File

@ -2260,6 +2260,7 @@ setup(void)
* images are available at all scale factors on the screen (necessary for * images are available at all scale factors on the screen (necessary for
* HiDPI support). Scaled cursors will be loaded with each output. */ * HiDPI support). Scaled cursors will be loaded with each output. */
cursor_mgr = wlr_xcursor_manager_create(NULL, 24); cursor_mgr = wlr_xcursor_manager_create(NULL, 24);
setenv("XCURSOR_SIZE", "24", 1);
/* /*
* wlr_cursor *only* displays an image on screen. It does not move around * wlr_cursor *only* displays an image on screen. It does not move around