feat: all-white mouse cursor across desktop/login/firstInit

This commit is contained in:
Linehu
2026-10-04 21:43:43 +08:00
parent 87d532df01
commit 87f8ce11da
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -499,8 +499,8 @@ static void cursor_draw(u32 *fb, i64 mx, i64 my) {
cursor_bg_valid = 1;
cursor_cur_x = mx;
cursor_cur_y = my;
/* draw cursor shape */
u32 white = 0xFFFFFFFF, dark = 0xFF304760;
/* draw cursor shape(全白指针,深色描边改白) */
u32 white = 0xFFFFFFFF, dark = 0xFFFFFFFF;
for (i64 y = 0; y < CUR_H; y++) {
i64 py = my + y;
if (py < 0 || (u64)py >= fb_h) continue;