[gimp/metadata-browser] libgimpwidgets: emit GimpButton::extended-clicked() also on MOD2-click
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] libgimpwidgets: emit GimpButton::extended-clicked() also on MOD2-click
- Date: Fri, 2 Dec 2011 02:12:07 +0000 (UTC)
commit ba4845bff0c324e7be4b177ea7d6ec2fa9a02334
Author: Michael Natterer <mitch gimp org>
Date: Thu Oct 6 22:24:41 2011 +0200
libgimpwidgets: emit GimpButton::extended-clicked() also on MOD2-click
it doesn't hurt on Win/X11 and is needed on OSX for Command-click.
libgimpwidgets/gimpbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgimpwidgets/gimpbutton.c b/libgimpwidgets/gimpbutton.c
index 92b4403..92e9f7c 100644
--- a/libgimpwidgets/gimpbutton.c
+++ b/libgimpwidgets/gimpbutton.c
@@ -144,7 +144,7 @@ static void
gimp_button_clicked (GtkButton *button)
{
if (GIMP_BUTTON (button)->press_state &
- (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK))
+ (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK | GDK_MOD2_MASK))
{
g_signal_stop_emission_by_name (button, "clicked");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]