aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/container.h
diff options
context:
space:
mode:
authorLibravatar Alexander Orzechowski <alex@ozal.ski>2023-11-23 10:09:48 -0500
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit5b8b505af5d5925ae9e617ee8f3c7a0f9c43409d (patch)
treef420022ad3a48215f9182505c0060d91edcd848e /include/sway/tree/container.h
parentIntroduce sway_text_node (diff)
downloadsway-5b8b505af5d5925ae9e617ee8f3c7a0f9c43409d.tar.gz
sway-5b8b505af5d5925ae9e617ee8f3c7a0f9c43409d.tar.zst
sway-5b8b505af5d5925ae9e617ee8f3c7a0f9c43409d.zip
input: Query scene graph for relevant surface/node intersections
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r--include/sway/tree/container.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index ee22a0d0..6f72439c 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -172,19 +172,6 @@ void container_begin_destroy(struct sway_container *con);
172struct sway_container *container_find_child(struct sway_container *container, 172struct sway_container *container_find_child(struct sway_container *container,
173 bool (*test)(struct sway_container *view, void *data), void *data); 173 bool (*test)(struct sway_container *view, void *data), void *data);
174 174
175/**
176 * Find a container at the given coordinates. Returns the surface and
177 * surface-local coordinates of the given layout coordinates if the container
178 * is a view and the view contains a surface at those coordinates.
179 */
180struct sway_container *container_at(struct sway_workspace *workspace,
181 double lx, double ly, struct wlr_surface **surface,
182 double *sx, double *sy);
183
184struct sway_container *tiling_container_at(
185 struct sway_node *parent, double lx, double ly,
186 struct wlr_surface **surface, double *sx, double *sy);
187
188void container_for_each_child(struct sway_container *container, 175void container_for_each_child(struct sway_container *container,
189 void (*f)(struct sway_container *container, void *data), void *data); 176 void (*f)(struct sway_container *container, void *data), void *data);
190 177