Skip to content

Move hidpi_factor to MonitorId #315

@jwilm

Description

@jwilm

This would allow the device-pixel-ratio to be determined before creating a window. Alacritty's use case for this is showing a correctly dimensioned window at startup without having a flash of the incorrectly sized window. This is because terminal size is usually dictacted by lines/columns requested, and that requires the scale factor to compute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C - waiting on authorWaiting for a response or another PRD - averageLikely as difficult as most tasks hereP - normalGreat to haveS - apiDesign and usabilityS - enhancementWouldn't this be the coolest?

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions