mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-19 07:40:37 +01:00
When creating the output with the default "XWAYLAND<n>" name, we use the MAX_OUTPUT_NAME value to allocate a lot more memory than necessary to accommodate for future output names once they get updated, but by doing so, we also send XRandR way too much (zeroed) data since the "nameLength" value is (purposely) set too big. So, instead, let's just update the name after creating the RR output, this way we set both the name and nameLength to their correct values while keeping the initial large allocation. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Fixes: |
||
|---|---|---|
| .. | ||
| vfb | ||
| xwayland | ||
| meson.build | ||