Always ungrab the pointer on button release. This is a quick and dirty

Thu Apr  2 04:06:50 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/disp_callbacks.c: Always ungrab the pointer on button release.
	This is a quick and dirty hack to try to nuke the pointer grab
	bug.
This commit is contained in:
EST 1998 Matthew Wilson 1998-04-03 09:13:07 +00:00 committed by Matt Wilson
parent 70d84d2eba
commit 6e1afab963
4 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Thu Apr 2 04:06:50 EST 1998 Matthew Wilson <msw@gimp.org>
* app/disp_callbacks.c: Always ungrab the pointer on button release.
This is a quick and dirty hack to try to nuke the pointer grab
bug.
Thu Apr 2 01:49:34 EST 1998 Matthew Wilson <msw@gimp.org>
* app/transform_core.c: added a change to make a note of the

View File

@ -182,6 +182,7 @@ gdisplay_canvas_events (GtkWidget *canvas,
{
case 1:
gtk_grab_remove (canvas);
gdk_pointer_ungrab (bevent->time); /* fixes pointer grab bug */
if (active_tool && ((active_tool->type == MOVE) ||
!gimage_is_empty (gdisp->gimage)))
if (active_tool->state == ACTIVE)

View File

@ -182,6 +182,7 @@ gdisplay_canvas_events (GtkWidget *canvas,
{
case 1:
gtk_grab_remove (canvas);
gdk_pointer_ungrab (bevent->time); /* fixes pointer grab bug */
if (active_tool && ((active_tool->type == MOVE) ||
!gimage_is_empty (gdisp->gimage)))
if (active_tool->state == ACTIVE)

View File

@ -182,6 +182,7 @@ gdisplay_canvas_events (GtkWidget *canvas,
{
case 1:
gtk_grab_remove (canvas);
gdk_pointer_ungrab (bevent->time); /* fixes pointer grab bug */
if (active_tool && ((active_tool->type == MOVE) ||
!gimage_is_empty (gdisp->gimage)))
if (active_tool->state == ACTIVE)