diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index b2305341..1b3d4dfb 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c @@ -582,6 +582,7 @@ bool workspace_switch(struct sway_workspace *workspace) { sway_log(SWAY_DEBUG, "Switching to workspace %p:%s", workspace, workspace->name); + workspace->output->workspace_scroll_percent = 0.0f; struct sway_node *next = seat_get_focus_inactive(seat, &workspace->node); if (next == NULL) { next = &workspace->node;