Skip to content

Resize window when using SDL/display_screen #446

@floringogianu

Description

@floringogianu

Using display_screen on a 1920x1080 display opens a window taller than the display itself. Resizing the window is also disabled. This is on Ubuntu 21.10.

Is there any way to scale or adjust the DPI of the SDL window? Or maybe disable HiDPI if it's enabled by default? Looking through the repo I couldn't find anything. Also usual environment flags I've been using in the past with other applications, such as GDK_SCALE=0.5 GDK_DPI_SCALE=0.5 are not working in this instance.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions