Skip to content

Commit

Permalink
Move to show_stage
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter committed Dec 13, 2024
1 parent 2a636c9 commit 1c7456f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/WindowManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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 (() => {
Expand Down

0 comments on commit 1c7456f

Please sign in to comment.