Skip to content
  • Michael Natterer's avatar
    Bug 796073 - Zero-size selections affect movement of pasted content... · 918f6083
    Michael Natterer authored
    ...in weird ways
    
    In gimp_rectangle_tool_button_press(), when the press triggers a
    GimpEditSelectionTool operation (like moving a floating selection),
    make sure we don't call COMMIT on a zero-size rectangle, because that
    would get special treatment by commit(). Instead, CANCEL a zero-size
    rectangle so stuff behaves as if it has never been there.
    918f6083