Skip to content

Commit

Permalink
Send output_config_changed to all listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
hbatagelo committed Sep 4, 2024
1 parent 8b942e9 commit 902d5f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/server/frontend_wayland/output_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ void mf::OutputGlobal::bind(wl_resource* resource)
{
auto const instance = new OutputInstance(resource, this);
instances[instance->client].push_back(instance);
instance->output_config_changed(output_config);
for (auto const& listener : listeners)
{
listener->output_config_changed(output_config);
}
instance->send_done();
}

Expand Down

0 comments on commit 902d5f3

Please sign in to comment.