mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
Fix crash when moving cursor over a fullscreen split container
Calling container_at_view fails an assertion if the container isn't a view. Calling tiling_container_at works correctly, as that function checks if the container is a view and calls container_at_view if so.
This commit is contained in:
parent
5ac3509d54
commit
c17f0870ef
3 changed files with 6 additions and 10 deletions
|
|
@ -99,7 +99,7 @@ static struct sway_container *container_at_coords(
|
|||
return ws;
|
||||
}
|
||||
if (ws->sway_workspace->fullscreen) {
|
||||
return container_at_view(ws->sway_workspace->fullscreen, lx, ly,
|
||||
return tiling_container_at(ws->sway_workspace->fullscreen, lx, ly,
|
||||
surface, sx, sy);
|
||||
}
|
||||
if ((*surface = layer_surface_at(output,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue