Issue #15763: check there is a current device before checking its cursor.

Devices are now listed later in the startup process since issue #13709.
This commit is contained in:
Jehan 2026-02-02 20:06:27 +01:00
parent cae3be98df
commit dda2cc03b1

View file

@ -1678,7 +1678,7 @@ gimp_display_shell_check_device_cursor (GimpDisplayShell *shell)
current_device = gimp_device_manager_get_current_device (manager);
shell->draw_cursor = ! gimp_device_info_has_cursor (current_device);
shell->draw_cursor = (current_device && ! gimp_device_info_has_cursor (current_device));
}
static void