Skip to content

Window does not get resized after creating window, when using Wayland. #8

Open
@gardenappl

Description

@gardenappl

See #5

My program, svitlyna, resizes its screen to fit the image that it's displaying - the resizing happens after the reset vector because the program relies on Console/vector to get the image data.

for whatever reason, the resizing doesn't always work on Wayland. I tried updating the egui dependency to include emilk/egui#4211, but it didn't seem to work either. However, the new versions require you to specify build features for Wayland and/or X11, and I was able to fix it by adding the x11 feature but not the wayland feature. But I don't think that's a good solution, so I'm not submitting it.

This does work with X11, for example, by unsetting the WAYLAND_DISPLAY environment variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions