aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2023-02-21 20:58:17 -0500
committerFurkan Sahin <furkan-dev@proton.me>2023-02-21 20:58:17 -0500
commit7212b784d15f5eef607a4f2a572ba0e6d6e08e86 (patch)
tree657615d28252b0b3bd01ef240ac6ae49dad15f74 /include
parentc7a06886f6b2b883fef7ee3afae9b977439273b6 (diff)
container: Don't track outputs
The scene graph abstraction does this for us
Diffstat (limited to 'include')
-rw-r--r--include/sway/surface.h10
-rw-r--r--include/sway/tree/container.h12
2 files changed, 0 insertions, 22 deletions
diff --git a/include/sway/surface.h b/include/sway/surface.h
deleted file mode 100644
index 81eb80d5..00000000
--- a/include/sway/surface.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#ifndef _SWAY_SURFACE_H
-#define _SWAY_SURFACE_H
-#include <wlr/types/wlr_compositor.h>
-
-void surface_enter_output(struct wlr_surface *surface,
- struct sway_output *output);
-void surface_leave_output(struct wlr_surface *surface,
- struct sway_output *output);
-
-#endif
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 4cd4c847..37a6b2b3 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -125,9 +125,6 @@ struct sway_container {
double child_total_width;
double child_total_height;
- // Outputs currently being intersected
- list_t *outputs; // struct sway_output
-
// Indicates that the container is a scratchpad container.
// Both hidden and visible scratchpad containers have scratchpad=true.
// Hidden scratchpad containers have a NULL parent.
@@ -280,15 +277,6 @@ bool container_is_floating_or_child(struct sway_container *container);
*/
bool container_is_fullscreen_or_child(struct sway_container *container);
-/**
- * Return the output which will be used for scale purposes.
- * This is the most recently entered output.
- * If the container is not on any output, return NULL.
- */
-struct sway_output *container_get_effective_output(struct sway_container *con);
-
-void container_discover_outputs(struct sway_container *con);
-
enum sway_container_layout container_parent_layout(struct sway_container *con);
list_t *container_get_siblings(struct sway_container *container);