mirror of
https://github.com/swaywm/sway.git
synced 2024-11-30 03:41:27 +00:00
Add missing checks to fix 2339
This commit is contained in:
parent
5a77bc3215
commit
44e218574f
|
@ -628,6 +628,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
|
||||||
|
|
||||||
if (last_workspace && last_workspace == new_workspace
|
if (last_workspace && last_workspace == new_workspace
|
||||||
&& last_workspace->sway_workspace->fullscreen
|
&& last_workspace->sway_workspace->fullscreen
|
||||||
|
&& container && container->type == C_VIEW
|
||||||
&& !container->sway_view->is_fullscreen) {
|
&& !container->sway_view->is_fullscreen) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue