aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-09-03 15:39:39 +0200
committerFurkan Sahin <furkan-dev@proton.me>2024-09-03 15:39:39 +0200
commitd54d36df4534ab36bc0ca4b5769c7687ed00cab0 (patch)
treefbf071459ccfde639d88015804fd5816cc23c562 /include
parent5c2e321e311377f854cd3ead31e9e27cddd40a19 (diff)
(desktop|tree)/output: Do not use layout listener to arrange
Output layout changes originate from the centralized modeset infrastructure and request_state which already takes care of arranging and updating outputs as needed.
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h2
-rw-r--r--include/sway/server.h1
-rw-r--r--include/sway/tree/root.h2
3 files changed, 0 insertions, 5 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 990fa506..4584ea45 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -134,8 +134,6 @@ enum sway_container_layout output_get_default_layout(
enum wlr_direction opposite_direction(enum wlr_direction d);
-void handle_output_layout_change(struct wl_listener *listener, void *data);
-
void handle_output_manager_apply(struct wl_listener *listener, void *data);
void handle_output_manager_test(struct wl_listener *listener, void *data);
diff --git a/include/sway/server.h b/include/sway/server.h
index 460f9e17..ccf4a9cc 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -45,7 +45,6 @@ struct sway_server {
struct sway_input_manager *input;
struct wl_listener new_output;
- struct wl_listener output_layout_change;
struct wl_listener renderer_lost;
struct wlr_idle_notifier_v1 *idle_notifier_v1;
diff --git a/include/sway/tree/root.h b/include/sway/tree/root.h
index 7de0abcd..10d9ea98 100644
--- a/include/sway/tree/root.h
+++ b/include/sway/tree/root.h
@@ -16,8 +16,6 @@ struct sway_root {
struct sway_node node;
struct wlr_output_layout *output_layout;
- struct wl_listener output_layout_change;
-
// scene node layout:
// - root
// - staging