mirror of
https://github.com/swaywm/sway.git
synced 2026-04-03 07:15:39 -04:00
(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:
parent
6045ad9a02
commit
af28ac04a4
6 changed files with 0 additions and 25 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue