Skip to content

Commit

Permalink
(#3414) Don't re-send wl_output.geometry if unchanged (#3430)
Browse files Browse the repository at this point in the history
Fixes #3414

Removes a duplicate call to
`OutputConfigListener::output_config_changed` during the binding of the
output object.
  • Loading branch information
AlanGriffiths authored Jun 18, 2024
2 parents 31ef078 + 68eb5cc commit 601aa2b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/server/frontend_wayland/output_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@ void mf::OutputGlobal::bind(wl_resource* resource)
instances[instance->client].push_back(instance);
instance->output_config_changed(output_config);
instance->send_done();
for (auto const& listener : listeners)
{
listener->output_config_changed(output_config);
}
}

void mf::OutputGlobal::instance_destroyed(OutputInstance* instance)
Expand Down

0 comments on commit 601aa2b

Please sign in to comment.