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

[rcore][DESKTOP_RGFW] ToggleFullscreen() and ToggleBorderlessWindowed() not working on Linux ? #4140

Closed
Tracked by #4147
SuperUserNameMan opened this issue Jul 8, 2024 · 3 comments
Labels
windowing Issues about the window system

Comments

@SuperUserNameMan
Copy link
Contributor

So i was testing the RGFW backend to compare with GLFW backend on my Linux, and found ToggleFullscreen() just does not work.

The window is just moved to the top left corner without even resizing.

The console show : WARNING: ToggleBorderlessWindowed() after window creation not available on target platform

@ColleagueRiley
Copy link
Contributor

ColleagueRiley commented Jul 8, 2024

This should be fixed by this PR #4144

I'm pretty sure ToggleFullscreen() won't work properly unless you enable the allow resize flags (with raylib).
SetConfigFlags(FLAG_WINDOW_RESIZABLE); (before the window is created)

@SuperUserNameMan
Copy link
Contributor Author

This should be fixed by this PR #4144

I'm pretty sure ToggleFullscreen() won't work properly unless you enable the allow resize flags (with raylib). SetConfigFlags(FLAG_WINDOW_RESIZABLE); (before the window is created)

Enabling ...RESIZEABLE with ToggleFullscreen creates issues with the GLFW backend :-/

@ColleagueRiley
Copy link
Contributor

ColleagueRiley commented Jul 8, 2024

I'm not sure how GLFW handles this, but RGFW allows resizing by default unless the RGFW_NO_RESIZE argument is passed to the createWindow function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windowing Issues about the window system
Projects
None yet
Development

No branches or pull requests

3 participants