Wayland output objects may arrive before the XDG output manager object #118

Closed
opened 1 year ago by dnkl · 0 comments
dnkl commented 1 year ago
Owner

When this happens, foot does not register the pre-existing output objects with the XDG output interface.

The result is missing output name and dpi values, among other things.

This in turn results in incorrectly sized fonts, since foot will default to dpi=96 when the output doesn't have a DPI value.

This has been seen on Gnome/mutter.

The fix is simple; iterate all pre-existing output objects when we receive the XDG output manager object and register them with the XDG output interface.

When this happens, foot does **not** register the pre-existing output objects with the XDG output interface. The result is missing output `name` and `dpi` values, among other things. This in turn results in incorrectly sized fonts, since foot will default to `dpi=96` when the output doesn't have a DPI value. This has been seen on Gnome/mutter. The fix is simple; iterate all pre-existing output objects when we receive the XDG output manager object and register them with the XDG output interface.
dnkl added the
bug
easy
labels 1 year ago
dnkl self-assigned this 1 year ago
dnkl closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.