Merge pull request #2341 from RedSoxFan/fix-2339

Add missing checks to fix 2339
This commit is contained in:
Drew DeVault 2018-07-23 16:19:00 -04:00 committed by GitHub
commit e94fd0e6eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }