Skip to content

Avoid double return#515

Closed
tiagocoutinho wants to merge 1 commit intoColleagueRiley:mainfrom
tiagocoutinho:main
Closed

Avoid double return#515
tiagocoutinho wants to merge 1 commit intoColleagueRiley:mainfrom
tiagocoutinho:main

Conversation

@tiagocoutinho
Copy link
Copy Markdown

Simple PR to prevent double return statement when RGFW_NO_XRANDR is not defined

@ColleagueRiley
Copy link
Copy Markdown
Owner

ColleagueRiley commented May 1, 2026

Thank you for pointing out this issue, these extra returns seem to be leftover code from when I rewrote some of these functions.

In the current version of monitor support with RGFW/X11 it doesn't really make much sense to support RGFW_NO_XRANDR anymore.

I did a proper clean up in this PR #512

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants