Skip to content

feat: workspace switch animation#1668

Draft
thearturca wants to merge 6 commits intoLGUG2Z:masterfrom
thearturca:feat/workspace-switch-animation
Draft

feat: workspace switch animation#1668
thearturca wants to merge 6 commits intoLGUG2Z:masterfrom
thearturca:feat/workspace-switch-animation

Conversation

@thearturca
Copy link
Copy Markdown
Contributor

This is proof of concept for workspace switch animation. At this state its buggy and requires a lot of work, but main idea is implemented and works as expected.

First implementation is hyperland-like animations from left to right and backwards.

It's still WIP, its crashes, its need monocle/maximazed/floating windows support, need to create and use config options for this animation, but it kinda works.

The main idea is create fullscreen window for monitor and capture windows in workspaces that involved in switch (new focused and previous focused workspaces) with directx apis, and then render this frames in that monitor fullscreen window.

Help wanted actually. Idk if I gonna work further on it. So, if you wanna work on this feature and bring it to life, your welcome

Made this PR for history and more discoverability.

Implemented by creating a new windows for monitor, maximaze it, and
start capturing frames from each windows in workspaces. Then move
captured frame by x_offset.

Have bugs like `STATUS_HEAP_CORRUPTION` on workspace switch itself or
random crash on start. Could be fixed I belive
@thearturca thearturca force-pushed the feat/workspace-switch-animation branch from 132860e to b4cbee6 Compare March 9, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant