Merge pull request #2410 from minus7/fix-fullscreen

Fix crash on mouse motion on fullscreen container
This commit is contained in:
Drew DeVault 2018-08-02 17:33:38 -04:00 committed by GitHub
commit 2ecba101fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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],