Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make move_to_container insert after the focused child of destination to match i3 behavior #8418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ccdunder
Copy link

#6818

See this comment for an example scenario.

See this code in i3 for reference.

@ccdunder ccdunder marked this pull request as draft October 30, 2024 06:51
@ccdunder ccdunder marked this pull request as ready for review October 30, 2024 06:58
sway/commands/move.c Outdated Show resolved Hide resolved
@Nefsen402
Copy link
Member

LGTM, thanks!

@Nefsen402
Copy link
Member

Ah, please squash your commits into one.

@ccdunder ccdunder force-pushed the move_to_container branch 2 times, most recently from 33392b5 to a76bbea Compare November 23, 2024 06:42
@ccdunder
Copy link
Author

ccdunder commented Nov 23, 2024

@Nefsen402, thanks for the LGTM! I squashed my commits. PTAL and approve when you have a sec.

Comment on lines +274 to +278
} else {
// TODO: This branch is unreachable until workspaces can be marked.
// Issue url: https://github.com/swaywm/sway/issues/8474
workspace_insert_tiling(target->pending.workspace, container, index);
}
Copy link
Member

Choose a reason for hiding this comment

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

I don't think it makes sense to include a branch for a feature that doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants