diff --git a/js/ui/panel.js b/js/ui/panel.js index 93697988c0..3730449da8 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -2680,7 +2680,7 @@ Panel.prototype = { if (event.get_button() == 3) { // right click try { let [x, y] = event.get_coords(); - let target = global.stage.get_actor_at_pos(Clutter.PickMode.ALL, x, y); + let target = global.stage.get_actor_at_pos(Clutter.PickMode.REACTIVE, x, y); // NB test on parent fails with centre aligned vertical box, but works for the test against the actor if (this._context_menu._getMenuItems().length > 0 &&