mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 19:31:29 +00:00
fixed focus on fullscreen view destroy
This commit is contained in:
parent
3c430688a8
commit
2f40459de4
|
@ -142,9 +142,6 @@ void set_focused_container(swayc_t *c) {
|
||||||
// Find previous focused view, and the new focused view, if they are the same return
|
// Find previous focused view, and the new focused view, if they are the same return
|
||||||
swayc_t *focused = get_focused_view(&root_container);
|
swayc_t *focused = get_focused_view(&root_container);
|
||||||
swayc_t *workspace = active_workspace;
|
swayc_t *workspace = active_workspace;
|
||||||
if (focused == get_focused_view(c)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// update container focus from here to root, making necessary changes along
|
// update container focus from here to root, making necessary changes along
|
||||||
// the way
|
// the way
|
||||||
|
|
Loading…
Reference in a new issue