mirror of https://github.com/GNOME/gimp.git
![]() 2002-02-05 Michael Natterer <mitch@gimp.org> Removed pointer grabbing from all tools: * app/tools/gimptool.[ch]: added "gboolean perfectmouse" which defaults to FALSE but can be set to TRUE in a tool's instance_init function. * app/display/gimpdisplayshell-callbacks.c: look at active_tool->perfectmouse and gimprc.perfectmouse and do the pointer grab/ungrab here. The pointer is now grabbed right before dispatching the button_press to the tool and ungrabbed after the tool's button_release has returned. It is also grabbed *always*, not only if tool->state got ACTIVE by button_press, which makes it all much simpler... * app/tools/gimpbezierselecttool.c * app/tools/gimpblendtool.c * app/tools/gimpbucketfilltool.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpclonetool.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimpeditselectiontool.c * app/tools/gimpfliptool.c * app/tools/gimpfreeselecttool.c * app/tools/gimpfuzzyselecttool.c * app/tools/gimpinktool.c * app/tools/gimpiscissorstool.c * app/tools/gimpmagnifytool.c * app/tools/gimpmeasuretool.c * app/tools/gimpmovetool.c * app/tools/gimppainttool.c * app/tools/gimppathtool.c * app/tools/gimprectselecttool.c * app/tools/gimpselectiontool.c * app/tools/gimptexttool.c * app/tools/gimptransformtool.c: removed gdk_pointer_grab()/ungrab() calls all over the place. Also removed inclusion of "display/gimpdisplayshell.h" from most of them. |
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile.am | ||
display-enums.h | ||
display-types.h | ||
gimpdisplay-area.c | ||
gimpdisplay-area.h | ||
gimpdisplay-foreach.c | ||
gimpdisplay-foreach.h | ||
gimpdisplay-handlers.c | ||
gimpdisplay-handlers.h | ||
gimpdisplay.c | ||
gimpdisplay.h | ||
gimpdisplayshell-callbacks.c | ||
gimpdisplayshell-callbacks.h | ||
gimpdisplayshell-dnd.c | ||
gimpdisplayshell-dnd.h | ||
gimpdisplayshell-draw.c | ||
gimpdisplayshell-draw.h | ||
gimpdisplayshell-filter-dialog.c | ||
gimpdisplayshell-filter-dialog.h | ||
gimpdisplayshell-filter.c | ||
gimpdisplayshell-filter.h | ||
gimpdisplayshell-handlers.c | ||
gimpdisplayshell-handlers.h | ||
gimpdisplayshell-layer-select.c | ||
gimpdisplayshell-layer-select.h | ||
gimpdisplayshell-marching-ants.h | ||
gimpdisplayshell-render.c | ||
gimpdisplayshell-render.h | ||
gimpdisplayshell-scale.c | ||
gimpdisplayshell-scale.h | ||
gimpdisplayshell-scroll.c | ||
gimpdisplayshell-scroll.h | ||
gimpdisplayshell-selection.c | ||
gimpdisplayshell-selection.h | ||
gimpdisplayshell.c | ||
gimpdisplayshell.h | ||
gimpnavigationeditor.c | ||
gimpnavigationview.c | ||
gimpprogress.c | ||
gimpprogress.h | ||
gimpstatusbar.c | ||
gimpstatusbar.h | ||
makefile.msc |