Skip to content

window-rules: make assign_workspace work with simple-tile#3049

Merged
ammen99 merged 1 commit into
WayfireWM:masterfrom
pakhromov:master
Jun 18, 2026
Merged

window-rules: make assign_workspace work with simple-tile#3049
ammen99 merged 1 commit into
WayfireWM:masterfrom
pakhromov:master

Conversation

@pakhromov

Copy link
Copy Markdown
Contributor

simple-tile overrides the geometry of the view so offsetting it with _view->move has no effect. Instead use wset->move_to_workspace() for the view and its children, then emit view_change_workspace_signal so it works with the tile plugin.
Using the same logic as in move_view function of vswitch plugin.

simple-tile overrides the geometry of the view so offsetting it with
_view->move has no effect. Instead use wset->move_to_workspace() for
the view and its children, then emit view_change_workspace_signal so
it works with the tile plugin.

@ammen99 ammen99 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ammen99 ammen99 merged commit 06fdcf6 into WayfireWM:master Jun 18, 2026
4 checks passed
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.

2 participants