Skip to content

Commit

Permalink
Fix missing wl_surface.enter events for outputs enabled at runtime. (
Browse files Browse the repository at this point in the history
…#3585)

In my [previous fix](#3430) for
#3414, I accidentally disabled sending `wl_surface.enter` events for
surfaces on outputs enabled at runtime. This PR resolves that issue
while still addressing #3414.
  • Loading branch information
AlanGriffiths authored Sep 6, 2024
2 parents 18d3daa + 902d5f3 commit 99e8ffa
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 99e8ffa

Please sign in to comment.