Commit a014c9d0 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

undraw the cursor on GDK_PROXIMITY_OUT. Always set shell->proximity to

2003-06-04  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): undraw the cursor on
	GDK_PROXIMITY_OUT. Always set shell->proximity to FALSE *before*
	calling gimp_display_shell_update_cursor().
parent 59c91cb3
2003-06-04 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_canvas_tool_events): undraw the cursor on
GDK_PROXIMITY_OUT. Always set shell->proximity to FALSE *before*
calling gimp_display_shell_update_cursor().
2003-06-04 Sven Neumann <sven@gimp.org> 2003-06-04 Sven Neumann <sven@gimp.org>
* plug-ins/common/film.c: use a font selection widget (bug #113884). * plug-ins/common/film.c: use a font selection widget (bug #113884).
...@@ -446,9 +446,8 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas, ...@@ -446,9 +446,8 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
if (cevent->mode != GDK_CROSSING_NORMAL) if (cevent->mode != GDK_CROSSING_NORMAL)
return TRUE; return TRUE;
gimp_display_shell_update_cursor (shell, -1, -1);
shell->proximity = FALSE; shell->proximity = FALSE;
gimp_display_shell_update_cursor (shell, -1, -1);
} }
break; break;
...@@ -457,6 +456,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas, ...@@ -457,6 +456,7 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
case GDK_PROXIMITY_OUT: case GDK_PROXIMITY_OUT:
shell->proximity = FALSE; shell->proximity = FALSE;
gimp_display_shell_update_cursor (shell, -1, -1);
break; break;
case GDK_FOCUS_CHANGE: case GDK_FOCUS_CHANGE:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment