Skip to content

Add "Increase/Decrease window height" actions#150

Open
jinliu wants to merge 1 commit intopeterfajdiga:masterfrom
jinliu:feature/change-window-height
Open

Add "Increase/Decrease window height" actions#150
jinliu wants to merge 1 commit intopeterfajdiga:masterfrom
jinliu:feature/change-window-height

Conversation

@jinliu
Copy link

@jinliu jinliu commented Jan 20, 2026

The "Stacking offset Y" config is reused as the step size.

The "Stacking offset Y" config is reused as the step size.
Copy link
Owner

@peterfajdiga peterfajdiga left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.

I have a problem with this approach, though. When you're changing the height of a window, you're also changing the height of another window (its upper or lower neighbor). But with this approach you have no control over which of the neighbors you're affecting.

I'd prefer to add actions like window-height-increase-up and window-height-increase-down. Both of them increase window height, but the first one grows the window upwards (shrinks the upper neighbor) and the second one grows it downwards (shrinks the lower neighbor).

For decreasing the height of a window, I wouldn't add new actions, to avoid too many actions. Instead, the user can switch focus to a neighbor window and grow that one to achieve the same effect.

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