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
@ -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>
|
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
|
* app/transform_core.c: added a change to make a note of the
|
||||||
|
@ -182,6 +182,7 @@ gdisplay_canvas_events (GtkWidget *canvas,
|
|||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
gtk_grab_remove (canvas);
|
gtk_grab_remove (canvas);
|
||||||
|
gdk_pointer_ungrab (bevent->time); /* fixes pointer grab bug */
|
||||||
if (active_tool && ((active_tool->type == MOVE) ||
|
if (active_tool && ((active_tool->type == MOVE) ||
|
||||||
!gimage_is_empty (gdisp->gimage)))
|
!gimage_is_empty (gdisp->gimage)))
|
||||||
if (active_tool->state == ACTIVE)
|
if (active_tool->state == ACTIVE)
|
||||||
|
@ -182,6 +182,7 @@ gdisplay_canvas_events (GtkWidget *canvas,
|
|||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
gtk_grab_remove (canvas);
|
gtk_grab_remove (canvas);
|
||||||
|
gdk_pointer_ungrab (bevent->time); /* fixes pointer grab bug */
|
||||||
if (active_tool && ((active_tool->type == MOVE) ||
|
if (active_tool && ((active_tool->type == MOVE) ||
|
||||||
!gimage_is_empty (gdisp->gimage)))
|
!gimage_is_empty (gdisp->gimage)))
|
||||||
if (active_tool->state == ACTIVE)
|
if (active_tool->state == ACTIVE)
|
||||||
|
@ -182,6 +182,7 @@ gdisplay_canvas_events (GtkWidget *canvas,
|
|||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
gtk_grab_remove (canvas);
|
gtk_grab_remove (canvas);
|
||||||
|
gdk_pointer_ungrab (bevent->time); /* fixes pointer grab bug */
|
||||||
if (active_tool && ((active_tool->type == MOVE) ||
|
if (active_tool && ((active_tool->type == MOVE) ||
|
||||||
!gimage_is_empty (gdisp->gimage)))
|
!gimage_is_empty (gdisp->gimage)))
|
||||||
if (active_tool->state == ACTIVE)
|
if (active_tool->state == ACTIVE)
|
||||||
|
Reference in New Issue
Block a user