Skip to content

Draft: Connect "highest-scale-monitor-changed" signal for Xwayland surfaces

With the fractional scale protocol in Wayland, the clutter actor's transform may change.

MetaWindowActorWayland would connect "highest-scale-monitor-changed" to clutter_actor_notify_transform_invalid() so that the transformation is updated when needed, but this was missing in the X11 equivalent.

Connect "highest-scale-monitor-changed" for MetaWindowActorX11 as well so that Xwayland's X11 windows can use fractional scale if ever implemented in Xwayland.

Similar to what MetaWaylandShellSurface does, connect the signal "highest-scale-monitor-changed" to the handler meta_wayland_surface_notify_highest_scale_monitor() so that Xwaylandsurface can be notified of the fractional scale changes.

Closes: #3326

Merge request reports