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

commands/move: Focus inactive view when no parent is found #8207

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

Commits on Jun 12, 2024

  1. commands/move: Focus inactive view when no parent is found

    There are some cases where the inactive view is the null container that wraps
    tabbed and stacking layouts. The following demonstrates how this results
    in some unexpected behavior:
    
    1. On an empty workspace, spawn three windows.
    2. Convert the layout to stacking with `layout stacking`.
    3. Toggle one of the windows as floating with `toggle floating`.
    4. With the floating window still selected, move it to another workspace with
       `move container to workspace`.
    
    We'd expect just one window to be selected instead of all remaining windows in
    the workspace. We can fix this by selecting the inactive view instead.
    anpandey committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    81d1ed1 View commit details
    Browse the repository at this point in the history