mirror of
https://github.com/swaywm/sway.git
synced 2024-11-30 03:41:27 +00:00
Fix qutebrowser crash on context menu dismissal
This commit is contained in:
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…
Reference in a new issue