Skip to content

Commit

Permalink
send preferred_buffer_scale event after entering an output
Browse files Browse the repository at this point in the history
Qt 6.7.0+ requires this to correctly scale when fractional scale is not
enabled.
  • Loading branch information
lilydjwg committed Apr 13, 2024
1 parent d675db6 commit 65ed628
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/view/wlr-surface-node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ void wf::scene::wlr_surface_node_t::update_pending_outputs()
{
wlr_surface_send_enter(surface, wo->handle);
wlr_fractional_scale_v1_notify_scale(surface, wo->handle->scale);
wlr_surface_set_preferred_buffer_scale(surface, wo->handle->scale);
}
} else if (delta < 0)
{
Expand Down

0 comments on commit 65ed628

Please sign in to comment.