mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Fix crash on mouse motion on fullscreen container
container_at expects a workspace, not the fullscreened container. Fixes #2409
This commit is contained in:
parent
3eda76de48
commit
e72f86784c
1 changed files with 1 additions and 2 deletions
|
@ -99,8 +99,7 @@ static struct sway_container *container_at_coords(
|
|||
return ws;
|
||||
}
|
||||
if (ws->sway_workspace->fullscreen) {
|
||||
return container_at(ws->sway_workspace->fullscreen, lx, ly,
|
||||
surface, sx, sy);
|
||||
return container_at(ws, lx, ly, surface, sx, sy);
|
||||
}
|
||||
if ((*surface = layer_surface_at(output,
|
||||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP],
|
||||
|
|
Loading…
Reference in a new issue