[gimp] app: check for GIMP_BUTTON_RELEASE_CANCEL, not GDK_BUTTON3_MASK
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: check for GIMP_BUTTON_RELEASE_CANCEL, not GDK_BUTTON3_MASK
- Date: Wed, 10 Nov 2010 13:40:16 +0000 (UTC)
commit ef44bfedad3c248fba2935ff88c15efcde86d6af
Author: Michael Natterer <mitch gimp org>
Date: Wed Nov 10 14:39:30 2010 +0100
app: check for GIMP_BUTTON_RELEASE_CANCEL, not GDK_BUTTON3_MASK
app/tools/gimpcagetool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpcagetool.c b/app/tools/gimpcagetool.c
index 2a93e9e..61c4c92 100644
--- a/app/tools/gimpcagetool.c
+++ b/app/tools/gimpcagetool.c
@@ -372,7 +372,7 @@ gimp_cage_tool_button_release (GimpTool *tool,
gimp_draw_tool_pause (GIMP_DRAW_TOOL (ct));
- if (state & GDK_BUTTON3_MASK)
+ if (release_type == GIMP_BUTTON_RELEASE_CANCEL)
{
/* operation canceled, do nothing */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]