Fix qutebrowser crash on context menu dismissal

This commit is contained in:
Drew DeVault 2018-04-19 09:15:21 -04:00
parent 21eb63cc9e
commit 777800e37a

View File

@ -458,7 +458,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
new_workspace = container_parent(new_workspace, C_WORKSPACE);
}
if (last_workspace == new_workspace
if (last_workspace && last_workspace == new_workspace
&& last_workspace->sway_workspace->fullscreen
&& !container->sway_view->is_fullscreen) {
return;