From dda2cc03b1c91a00ad0b5c68a840cc16192dcf43 Mon Sep 17 00:00:00 2001 From: Jehan Date: Mon, 2 Feb 2026 20:06:27 +0100 Subject: [PATCH] Issue #15763: check there is a current device before checking its cursor. Devices are now listed later in the startup process since issue #13709. --- app/display/gimpdisplayshell-tool-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/display/gimpdisplayshell-tool-events.c b/app/display/gimpdisplayshell-tool-events.c index 58447b5d80..7ff3b65394 100644 --- a/app/display/gimpdisplayshell-tool-events.c +++ b/app/display/gimpdisplayshell-tool-events.c @@ -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