The client area of the window extends beyond the title bar on scaled displays.
"I have two screens. The window displays correctly on the main screen, but the client area appears abnormal on the secondary screen. The resolutions of the two screens are different."
This is the image of the main screen.
This is the image of the secondary screen.
That's very strange. I can't seem to recreate that with my current setup. Could you tell me the resolutions of your monitors and which one is the primary monitor?
Got it. The issue above occurs when the scaling ratios of my two screens are different. The scaling and layout of my primary screen is set to 125%, while the secondary screen is set to 100%.
Ah, I figured it had something to do with scaling. I'll test that.
The title bar should still be scaled with the content, so this is still a strange bug to me.
The buffers and portable GL examples don't have this issue.
It seems like it's related to the RGFW_windowNoResize flag.
缓冲区和便携式 GL 示例没有这个问题。
On my computer, the issue still persists.
This problem also occurs for examples/basic/basic, so it's not just a software rendering issue.
This only happens when the RGFW_windowNoResize flag is applied.
It is strange that in your screenshot, the examples/buffer/buffer example has this issue. When it doesn't use that flag.
It seems that RGFW_windowNoResize made it so the window didn't include the WS_THICKFRAME flag.
This issue should be fixed with the latest commits.
Unfortunately, this problem still exists on my computer.
I'm unable to replicate the bug.
(On the larger 1920x1080 primary screen with 125% scaling.)
(On the smaller 1366x765 secondary screen with 100% scaling)
With extended displays, both in landscape mode.
Can you give other information about the monitors to help recreate the bug?
My two screens both have a resolution of 1920×1080, but the main screen is set to 125% scaling, while the secondary screen is set to 100% scaling.
I was able to test the same monitor arrangement and I was still unable to recreate the issue.
Are you sure that was done using the newest version of RGFW?
I'm closing this issue because it has been unable to be recreated and it has been left stagnant for some time.
If there are any updates or anyone is able to recreate this issue, please reopen this issue or file a new one.