Skip to content

Fix xwayland#525

Merged
zccrs merged 2 commits intovioken:masterfrom
wineee:fix-xwayland
Oct 30, 2024
Merged

Fix xwayland#525
zccrs merged 2 commits intovioken:masterfrom
wineee:fix-xwayland

Conversation

@wineee
Copy link
Copy Markdown
Member

@wineee wineee commented Oct 25, 2024

No description provided.

@wineee wineee force-pushed the fix-xwayland branch 3 times, most recently from e5ca780 to 6387eed Compare October 28, 2024 07:15
@wineee wineee marked this pull request as ready for review October 30, 2024 01:56
Comment thread examples/tinywl/rootsurfacecontainer.cpp Outdated
Comment thread examples/tinywl/surfacewrapper.cpp Outdated

// xwaylandSurface->requestConfigureFlags().testAnyFlags(WXWaylandSurface::ConfigureFlag::XCB_CONFIG_WINDOW_POSITION)
auto requestPos = xwaylandSurface->requestConfigureGeometry().topLeft();
if (!requestPos.isNull()) { // howto check WINDOW_POSITION never configured?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use ConfigureFlag

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requestConfigureFlags will be override if config twice

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, remvoe the comment

Comment thread examples/tinywl/surfacewrapper.cpp Outdated
@wineee wineee force-pushed the fix-xwayland branch 2 times, most recently from b969915 to 2ab83ea Compare October 30, 2024 03:22
Comment thread examples/tinywl/surfacewrapper.cpp Outdated

// xwaylandSurface->requestConfigureFlags().testAnyFlags(WXWaylandSurface::ConfigureFlag::XCB_CONFIG_WINDOW_POSITION)
auto requestPos = xwaylandSurface->requestConfigureGeometry().topLeft();
if (!requestPos.isNull()) { // howto check WINDOW_POSITION never configured?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, remvoe the comment

@zccrs zccrs merged commit 6e88ca5 into vioken:master Oct 30, 2024
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