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

DND to center option: don't tab/stack, swaps windows instead #329

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

alesya-h
Copy link
Contributor

I often find myself in a situation where I have a layout, but want to rearrange windows inside that layout. Currently there's no way to do it quickly with a mouse without ruining the layout. You can only be clicking and using "swap with previous" from keyboard, which is annoying. This PR adds an option to not create stacked/tabbed layout on drag and drop to a window center, and to just swap windows instead. This makes it much easier to rearrange windows inside the layout, and tabbed/stacked layouts are still available via keyboard shortcuts.

lib/prefs/settings.js Outdated Show resolved Hide resolved
@alesya-h
Copy link
Contributor Author

alesya-h commented Dec 1, 2023

Also, the diff looks a bit stupid, but in reality it's just because of indentation changes in similar blocks of code. Current behaviour was just wrapped in another if-else and moved one level deeper into the else branch.

@jmmaranan jmmaranan merged commit 4128dcc into forge-ext:main Dec 2, 2023
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.

None yet

2 participants