aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-01 22:02:12 -0400
committerGitHub <noreply@github.com>2018-08-01 22:02:12 -0400
commit9564c73c0ddca9d7b45f0476fcaee8bd878d8345 (patch)
tree4405c7ab30e25c5234a61280a66d406921c52253 /include/sway/tree/container.h
parent4cc0855f21a2704314aa7b8973ceae7a8b463a1a (diff)
parent7a59508da467a3b793e355e28ae67ce04633761c (diff)
Merge pull request #2391 from RyanDwyer/fix-popups-v2
Fix popups (v2)
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index d4a42a71..12ff8a5a 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -230,18 +230,11 @@ struct sway_container *container_parent(struct sway_container *container,
* surface-local coordinates of the given layout coordinates if the container
* is a view and the view contains a surface at those coordinates.
*/
-struct sway_container *container_at(struct sway_container *container,
- double ox, double oy, struct wlr_surface **surface,
+struct sway_container *container_at(struct sway_container *workspace,
+ double lx, double ly, struct wlr_surface **surface,
double *sx, double *sy);
/**
- * Same as container_at, but only checks floating views and expects coordinates
- * to be layout coordinates, as that's what floating views use.
- */
-struct sway_container *floating_container_at(double lx, double ly,
- struct wlr_surface **surface, double *sx, double *sy);
-
-/**
* Apply the function for each descendant of the container breadth first.
*/
void container_for_each_descendant_bfs(struct sway_container *container,