1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

Fix clearing custom cursor

This commit is contained in:
Ninni Pipping
2023-03-06 22:00:34 +01:00
parent 3695fe5a57
commit a419325753
3 changed files with 6 additions and 6 deletions

View File

@@ -2714,11 +2714,11 @@ void DisplayServerX11::cursor_set_custom_image(const Ref<Resource> &p_cursor, Cu
cursors[p_shape] = XcursorImageLoadCursor(x11_display, img[p_shape]);
}
cursors_cache.erase(p_shape);
CursorShape c = current_cursor;
current_cursor = CURSOR_MAX;
cursor_set_shape(c);
cursors_cache.erase(p_shape);
}
}