mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 18:01:29 +00:00
Merge pull request #2410 from minus7/fix-fullscreen
Fix crash on mouse motion on fullscreen container
This commit is contained in:
commit
2ecba101fd
|
@ -99,8 +99,7 @@ static struct sway_container *container_at_coords(
|
||||||
return ws;
|
return ws;
|
||||||
}
|
}
|
||||||
if (ws->sway_workspace->fullscreen) {
|
if (ws->sway_workspace->fullscreen) {
|
||||||
return container_at(ws->sway_workspace->fullscreen, lx, ly,
|
return container_at(ws, lx, ly, surface, sx, sy);
|
||||||
surface, sx, sy);
|
|
||||||
}
|
}
|
||||||
if ((*surface = layer_surface_at(output,
|
if ((*surface = layer_surface_at(output,
|
||||||
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP],
|
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP],
|
||||||
|
|
Loading…
Reference in a new issue