From cc64091f9c54d87de311cbc246a368afaf73cc42 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 14 Feb 2013 17:33:48 -0500 Subject: [PATCH] popupMenu: Fix bubbling in the slider widget https://bugzilla.gnome.org/show_bug.cgi?id=701755 --- js/ui/popupMenu.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index fbe1e7e41..a70b56f2c 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -621,7 +621,7 @@ const PopupSliderMenuItem = new Lang.Class({ _startDragging: function(actor, event) { if (this._dragging) // don't allow two drags at the same time - return; + return false; this._dragging = true; @@ -634,6 +634,8 @@ const PopupSliderMenuItem = new Lang.Class({ let absX, absY; [absX, absY] = event.get_coords(); this._moveHandle(absX, absY); + + return true; }, _endDragging: function() {