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

[v2] Only call EnableSizable for normal windows #1074

Merged
merged 2 commits into from
Jan 17, 2022

Conversation

stffabi
Copy link
Collaborator

@stffabi stffabi commented Jan 14, 2022

Frameless windows are always not resizable per default and
the resizing for those will be initiated by the frontend see
processMessage.

If EnableSizable is enabled for frameless windows, a small white
titlebar will be shown.

Fix #1049

v2/go.mod Outdated Show resolved Hide resolved
@stffabi stffabi marked this pull request as ready for review January 17, 2022 07:30
@stffabi stffabi force-pushed the feature/frameless-resizing branch 3 times, most recently from e2a385c to 21e25d5 Compare January 17, 2022 07:54
@leaanthony
Copy link
Member

I've just merged your PR on winc. Does this need updating again? 😆

Frameless windows are always not resizable per default and
the resizing for those will be initiated by the frontend see
processMessage.

If EnableSizable is enabled for frameless windows, a small white
titlebar will be shown.

Fix wailsapp#1049
@stffabi
Copy link
Collaborator Author

stffabi commented Jan 17, 2022

I've just updated it to contain leaanthony/winc#12

@leaanthony leaanthony merged commit 1509131 into wailsapp:master Jan 17, 2022
@leaanthony
Copy link
Member

Glad to finally get this one over the line :-)

@stffabi stffabi deleted the feature/frameless-resizing branch January 17, 2022 09:34
@stffabi
Copy link
Collaborator Author

stffabi commented Jan 17, 2022

😄 Thanks for merging

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.

Logic to (dis)allow to resize window differs on Windows vs Linux/Darwin
2 participants