aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
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 /include/sway/tree/container.h
parent2ecba101fd2535b634b83ec54d6a46d2ff9e1481 (diff)
parentb3365645114b17b9a5d3efe6e0e81758cd8c47b5 (diff)
Merge pull request #2411 from emersion/fullscreen-pointer-input
Fix pointer events for fullscreen views
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 12ff8a5a..c3942e9e 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -234,6 +234,10 @@ struct sway_container *container_at(struct sway_container *workspace,
double lx, double ly, struct wlr_surface **surface,
double *sx, double *sy);
+struct sway_container *container_at_view(struct sway_container *view,
+ double lx, double ly, struct wlr_surface **surface,
+ double *sx, double *sy);
+
/**
* Apply the function for each descendant of the container breadth first.
*/