diff options
| author | Alexander Orzechowski <alex@ozal.ski> | 2023-02-21 20:58:17 -0500 | 
|---|---|---|
| committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 | 
| commit | 5f0801b6f245cc789ea93b9449dd0c573ef36e66 (patch) | |
| tree | 657615d28252b0b3bd01ef240ac6ae49dad15f74 /include | |
| parent | 1e018e72b4d57c8f354b9be9686a7a75797cdcab (diff) | |
| download | sway-5f0801b6f245cc789ea93b9449dd0c573ef36e66.tar.xz | |
container: Don't track outputs
The scene graph abstraction does this for us
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/surface.h | 10 | ||||
| -rw-r--r-- | include/sway/tree/container.h | 12 | 
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); | 
