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

(hopefully) proper window style setup in wfreerdp at startup #2054

Merged
merged 3 commits into from
Sep 5, 2014

Conversation

erbth
Copy link
Contributor

@erbth erbth commented Aug 20, 2014

When connecting with wfreerdp, sometimes the wfreerdp window seems to be not created in full size like here: #2047. That means both scrollbars are shown and the client area of the window seems to be smaller than the requested size (rdp-session resolution). This seems to only happen randomly, but it might be solved by setting up the window's style attributes already with CreateWindowEx(), because when setting the WS_SIZEBOX attribute later (and resizing the window (?)), it seems to end up in unexpected behaviour. The window size is set wrongly, because GetClientRect() seems to return wrong values and canvas diff is set too small? Hopefully this is a real fix, please feel free to correct me anytime!

@freerdp-bot
Copy link

Can one of the members verify this patch?

@bmiklautz
Copy link
Member

@freerdp-bot test

@freerdp-bot
Copy link

Test PASSed.
Refer to this link for build results: https://ci.freerdp.com/job/PullRequestBuilder/569/

@erbth
Copy link
Contributor Author

erbth commented Aug 25, 2014

just seen that the problem still persists if wfreerdp is minimized and maximized again

@awakecoding
Copy link
Member

@freerdp-bot test.

@freerdp-bot
Copy link

Test FAILed.
Refer to this link for build results: https://ci.freerdp.com/job/PullRequestBuilder/579/

awakecoding added a commit that referenced this pull request Sep 5, 2014
(hopefully) proper window style setup in wfreerdp at startup
@awakecoding awakecoding merged commit 7f9d051 into FreeRDP:master Sep 5, 2014
@erbth erbth deleted the wfreerdp branch September 8, 2014 22:27
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.

None yet

4 participants