-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Sway does no properly update when a window moves into an existing container #8292
Comments
I've bisected this further:
Using wlroots 2a897af7dc532a3585401ae317d586a69c1af1d3 |
cc: @rpigott |
I didn't properly clarify this above: when this issue is triggered, the tab bar shows the right-most window as focused, but another window has focus (and responds to keyboard input and to However, the window that is rendered inside the tabbed container is different from the focused one. |
Restoring the following two lines fixes the issue: seat_set_raw_focus(config->handler_context.seat, &new_ws->node);
seat_set_focus_container(config->handler_context.seat, container); |
When a parented container changes parent, sway will render a sibling non-focused container. Fixes: 5e18ed3 Fixes: swaywm#8292
When a parented container changes parent, sway will render a sibling non-focused container. Revert deletion of code which introduced this regression. Fixes: 5e18ed3 Fixes: swaywm#8292
Version
sway version 1.10-dev-40ca4150b (Jun 10 2024, branch 'master')
Configuration
Run
sway -c test.conf
with the following astest.conf
:And
test.sh
is:The
sleep
s are there to ensure that all commands execute before proceeding. They also help visualise the issue.Description
When I move a window into a split container, the view doesn't properly update, and I see the wrong window, while sway shows the wrong titlebar as active. Moving that window again restores sway to a consistent state.
I recommend running the above reproductions script while reading through the script as actions progress.
Additional notes
I previously mentioned this in #8205, but it turns out it is a separate issue.
The text was updated successfully, but these errors were encountered: