diff --git a/src/WindowManager.vala b/src/WindowManager.vala index f5a194bde..8886bb827 100644 --- a/src/WindowManager.vala +++ b/src/WindowManager.vala @@ -157,11 +157,6 @@ namespace Gala { }); } #endif - - var scroll_action = new SuperScrollAction (display); - scroll_action.triggered.connect (handle_super_scroll); - - stage.add_action_full ("super-scroll-action", CAPTURE, scroll_action); } private void handle_super_scroll (uint32 timestamp, double dx, double dy) { @@ -416,6 +411,10 @@ namespace Gala { display.window_created.connect ((window) => window_created (window)); + var scroll_action = new SuperScrollAction (display); + scroll_action.triggered.connect (handle_super_scroll); + stage.add_action_full ("super-scroll-action", CAPTURE, scroll_action); + stage.show (); Idle.add (() => {