mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -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
|
|
@ -277,9 +277,6 @@ bool server_init(struct sway_server *server) {
|
|||
|
||||
server->new_output.notify = handle_new_output;
|
||||
wl_signal_add(&server->backend->events.new_output, &server->new_output);
|
||||
server->output_layout_change.notify = handle_output_layout_change;
|
||||
wl_signal_add(&root->output_layout->events.change,
|
||||
&server->output_layout_change);
|
||||
|
||||
server->xdg_output_manager_v1 =
|
||||
wlr_xdg_output_manager_v1_create(server->wl_display, root->output_layout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue