From f8884ffc2b7a4c0401f0a6710b679cd18b6b097d Mon Sep 17 00:00:00 2001
From: Nikita Ivanov <nikita.vyach.ivanov@gmail.com>
Date: Sun, 28 May 2023 19:09:38 +0200
Subject: Set XCURSOR_SIZE

---
 dwl.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'dwl.c')

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
-- 
cgit v1.2.3