wlroots/include
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
..
backend backend/wayland: Fix HiDPI support for nested compositors 2025-10-30 11:13:32 +01:00
interfaces types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
render render/color: add wlr_color_transform_pipeline 2025-10-18 20:36:01 +02:00
types backend, output: send commit events after applying all in wlr_backend_commit() 2025-08-12 19:04:05 +02:00
util util/mem: Move memdup to new util/mem.c file 2025-07-17 16:39:58 +01:00
wlr scene: add software fallback for gamma LUT 2025-10-18 20:36:01 +02:00
xcursor Add some missing includes/declarations 2023-06-05 21:06:19 +00:00
xwayland xwm: Fix double-close 2025-10-20 14:02:29 +01:00
meson.build render/color: add fallback stub when LCMS2 is disabled 2024-06-04 17:45:51 +00:00