summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Ivanov <nikita.vyach.ivanov@gmail.com>2023-05-28 19:09:38 +0200
committerLeonardo Hernández <leohdz172@proton.me>2023-06-01 19:11:33 -0600
commitf8884ffc2b7a4c0401f0a6710b679cd18b6b097d (patch)
treed25309fdb93291e64543b7bd940884f6597f8280
parenta5e45924edeaeb9b763cdc75fd4ec413b2ec2ab5 (diff)
Set XCURSOR_SIZE
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index aec7427..cd27c7c 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2260,6 +2260,7 @@ setup(void)
* images are available at all scale factors on the screen (necessary for
* HiDPI support). Scaled cursors will be loaded with each output. */
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