aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-08-03 08:18:09 +1000
committerGitHub <noreply@github.com>2018-08-03 08:18:09 +1000
commite07da5fc5c6ac5c186662b56b08ca71531119de0 (patch)
tree428ebc7eb82930ff38d495862afe7ee7c5042f4b /sway/input
parent2ecba101fd2535b634b83ec54d6a46d2ff9e1481 (diff)
parentb3365645114b17b9a5d3efe6e0e81758cd8c47b5 (diff)
Merge pull request #2411 from emersion/fullscreen-pointer-input
Fix pointer events for fullscreen views
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/cursor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 99858d93..c2fc4e9e 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -99,7 +99,8 @@ static struct sway_container *container_at_coords(
return ws;
}
if (ws->sway_workspace->fullscreen) {
- return container_at(ws, lx, ly, surface, sx, sy);
+ return container_at_view(ws->sway_workspace->fullscreen, lx, ly,
+ surface, sx, sy);
}
if ((*surface = layer_surface_at(output,
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_TOP],