mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
Fix movement between outputs
This commit is contained in:
parent
5ff71c2d5c
commit
19c0ec6a08
2 changed files with 5 additions and 2 deletions
|
|
@ -244,6 +244,9 @@ void focus_view(swayc_t *view) {
|
|||
}
|
||||
while (view && view->type != C_VIEW) {
|
||||
view = view->focused;
|
||||
if (view && view->type == C_OUTPUT) {
|
||||
wlc_output_focus(view->handle);
|
||||
}
|
||||
}
|
||||
if (view) {
|
||||
wlc_view_set_state(view->handle, WLC_BIT_ACTIVATED, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue