From 4acc9f1a0fec537c740a81591ff475da5f269b85 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 31 Oct 2022 13:11:21 +0100 Subject: [PATCH] backgroundMenu: Drop grab-op-begin signal connection This is done just to "reset" the click action when a grab operation begins. With grab ops being based on ClutterGrab now, the action will be implicitly reset when these happen. This is unnecessary now. Part-of: --- js/ui/backgroundMenu.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/ui/backgroundMenu.js b/js/ui/backgroundMenu.js index 4c7372a4b..6282f308b 100644 --- a/js/ui/backgroundMenu.js +++ b/js/ui/backgroundMenu.js @@ -56,9 +56,6 @@ function addBackgroundMenu(actor, layoutManager) { }); actor.add_action(clickAction); - global.display.connectObject('grab-op-begin', - () => clickAction.release(), actor); - actor.connect('destroy', () => { actor._backgroundMenu.destroy(); actor._backgroundMenu = null;