wlroots/backend
Anatolii Smolianinov f758cd1115
backend/wayland: Fix HiDPI support for nested compositors
When running a wlroots-based compositor nested under another Wayland
compositor with HiDPI scaling, the nested window appears blurry and
incorrectly sized. This is because the Wayland backend does not:

1. Detect and track the parent compositor's output scale
2. Set wl_surface_set_buffer_scale() to match the parent's scale
3. Multiply output dimensions by the scale factor when handling
   configure events

This patch fixes all three issues by:

- Adding wlr_wl_parent_output structure to track parent outputs
- Listening to wl_output.scale events from the parent compositor
- Setting buffer_scale on all backend surfaces (output and layers)
- Scaling output dimensions to account for buffer scale
- Setting wlr_output.scale so nested clients render at correct DPI

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/854
2025-10-30 11:13:32 +01:00
..
drm render: introduce bt.1886 transfer function 2025-10-04 18:13:37 +05:30
headless backend/headless: accept hardware cursors 2025-01-14 16:42:12 +01:00
libinput backend/libinput: don't leak udev_device 2025-05-20 01:15:19 +09:00
multi Assert (almost all) signals have no attached listeners on destroy 2025-01-15 19:53:11 +03:00
session backend/session: use device boot_display 2025-10-17 17:35:51 +00:00
wayland backend/wayland: Fix HiDPI support for nested compositors 2025-10-30 11:13:32 +01:00
x11 output: introduce wlr_output_finish() 2025-01-08 16:06:12 +00:00
backend.c backend, output: send commit events after applying all in wlr_backend_commit() 2025-08-12 19:04:05 +02:00
meson.build backend/session: make optional 2022-11-25 16:15:29 +00:00