(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.
This commit is contained in:
Kenny Levinsen 2024-09-03 15:39:39 +02:00 committed by Alexander Orzechowski
parent 6045ad9a02
commit af28ac04a4
6 changed files with 0 additions and 25 deletions

View file

@ -543,13 +543,6 @@ void handle_new_output(struct wl_listener *listener, void *data) {
request_modeset(server);
}
void handle_output_layout_change(struct wl_listener *listener,
void *data) {
struct sway_server *server =
wl_container_of(listener, server, output_layout_change);
update_output_manager_config(server);
}
static struct output_config *output_config_for_config_head(
struct wlr_output_configuration_head_v1 *config_head,
struct sway_output *output) {