Skip to content

Commit 1c7456f

Browse files
committed
Move to show_stage
1 parent 2a636c9 commit 1c7456f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/WindowManager.vala

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,6 @@ namespace Gala {
157157
});
158158
}
159159
#endif
160-
161-
var scroll_action = new SuperScrollAction (display);
162-
scroll_action.triggered.connect (handle_super_scroll);
163-
164-
stage.add_action_full ("super-scroll-action", CAPTURE, scroll_action);
165160
}
166161

167162
private void handle_super_scroll (uint32 timestamp, double dx, double dy) {
@@ -416,6 +411,10 @@ namespace Gala {
416411

417412
display.window_created.connect ((window) => window_created (window));
418413

414+
var scroll_action = new SuperScrollAction (display);
415+
scroll_action.triggered.connect (handle_super_scroll);
416+
stage.add_action_full ("super-scroll-action", CAPTURE, scroll_action);
417+
419418
stage.show ();
420419

421420
Idle.add (() => {

0 commit comments

Comments
 (0)