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:

committed by
Matt Wilson

parent
70d84d2eba
commit
6e1afab963
@ -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)
|
||||
|
Reference in New Issue
Block a user