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

Resize app window to match aspect ratio with middle click #451

Merged
merged 2 commits into from
May 26, 2024
Merged

Conversation

Rafostar
Copy link
Owner

Add an action to resize window into a nearest best fit for currently displayed video in order to remove black bars.

This approach has multiple benefits:

  • Easy and fast to perform
  • Does not break tiling compositors
  • Does not require additional options in preferences to enable/disable constraint
  • Avoids situations where multiple videos are played in order with different aspect ratios and window keeps shrinking/growing on this own with every clip (and does not go back to earlier size)
  • Optional and thus still allows to resize window into a size where OSD does not cover video area

Related to #30

@Rafostar Rafostar force-pushed the resize-me branch 2 times, most recently from 6fcdf7d to a302226 Compare May 24, 2024 19:24
In addition to middle click, also add "Super+r" keyboard shortcut to perform window resize to fit video action
@Rafostar Rafostar merged commit 2eaf503 into master May 26, 2024
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.

None yet

1 participant