diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2012-03-05 12:20:00 +0100 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2012-03-05 12:20:00 +0100 |
commit | 9efffcc071e59e6c0fe5d0b406e558cc7319e8ee (patch) | |
tree | 1f4d8d555dc439403da78c52e413be3c29833c21 /src/gui/triggerSelectButton.vala | |
parent | 75655ffca55cb5e5ca51d8f6a4d3d600f1f54cdc (diff) | |
parent | 98f3ef2689de06e8ab8b46a91acfa7dd2056a3a6 (diff) |
Merge tag 'upstream/0.5.1'
Upstream version 0.5.1
Diffstat (limited to 'src/gui/triggerSelectButton.vala')
-rw-r--r-- | src/gui/triggerSelectButton.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/triggerSelectButton.vala b/src/gui/triggerSelectButton.vala index eeb37e2..fd8505a 100644 --- a/src/gui/triggerSelectButton.vala +++ b/src/gui/triggerSelectButton.vala @@ -132,8 +132,8 @@ public class TriggerSelectButton : Gtk.ToggleButton { if (this.active) { Gtk.Allocation rect; this.get_allocation(out rect); - if (event.x < rect.x || event.x > rect.x + rect.width - || event.y < rect.y || event.y > rect.y + rect.height) { + if (event.x < 0 || event.x > rect.width + || event.y < 0 || event.y > rect.height) { this.cancel(); return true; |