Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window doesn't set proper size during initialization on Wayland #57

Open
MiKom opened this issue Feb 7, 2025 · 0 comments
Open

Window doesn't set proper size during initialization on Wayland #57

MiKom opened this issue Feb 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@MiKom
Copy link
Member

MiKom commented Feb 7, 2025

Steps to reproduce

Run the gui_window_example on Wayland

Expected result

Window shows up with size 800x600 because that's the default size in window.h

Actual result

Window has size 0x0.

Notes

That because during window creation neither LinuxWaylandPlatformWindow::create nor LinuxWaylandPlatformWindow::map does any resizing and we get a 0x0 surface.

@MiKom MiKom added the bug Something isn't working label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant