aboutsummaryrefslogtreecommitdiff
path: root/src/flat-button.vala
diff options
context:
space:
mode:
authorAlberts Muktupavels <alberts.muktupavels@gmail.com>2014-11-29 14:14:09 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-27 17:02:38 +0100
commiteb9d205e7a728cc76d4d326c8b6ff36534b39824 (patch)
tree821da94a72c0fde2cac2b57fb9002bccc2434d80 /src/flat-button.vala
parent4a5a14d5d5f1f5c55844480bfd428f93b33502ad (diff)
downloadarctica-greeter-eb9d205e7a728cc76d4d326c8b6ff36534b39824.tar.gz
arctica-greeter-eb9d205e7a728cc76d4d326c8b6ff36534b39824.tar.bz2
arctica-greeter-eb9d205e7a728cc76d4d326c8b6ff36534b39824.zip
Restore event type for button-release-event.
Ported to ArcticaGreeter: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'src/flat-button.vala')
-rw-r--r--src/flat-button.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flat-button.vala b/src/flat-button.vala
index 2dabe42..a81aebf 100644
--- a/src/flat-button.vala
+++ b/src/flat-button.vala
@@ -63,6 +63,8 @@ public class FlatButton : Gtk.Button
base.button_press_event (event); // fake an insta-click
did_press = false;
}
+
+ event.type = Gdk.EventType.BUTTON_RELEASE;
return base.button_release_event (event);
}
}