Fix qutebrowser crash on context menu dismissal

master
Drew DeVault 7 years ago
parent 21eb63cc9e
commit 777800e37a

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

Loading…
Cancel
Save