Skip to content

Comments

view: chase wlroots b72a217fcc (fix xdg maximize not working)#1300

Merged
ammen99 merged 1 commit intoWayfireWM:masterfrom
valpackett:wlr-requested
Oct 10, 2021
Merged

view: chase wlroots b72a217fcc (fix xdg maximize not working)#1300
ammen99 merged 1 commit intoWayfireWM:masterfrom
valpackett:wlr-requested

Conversation

@valpackett
Copy link
Contributor

swaywm/wlroots#3199

I think that's the only place that needed changing… at least it seems that nobody saw any breakage other than maximize requests not working.

There are a couple pending accesses right in initialize() but I'm not sure how to even test them. Trying to e.g. launch vkquake preconfigured to start in fullscreen, it still does a fullscreen request later rather than initializing with fullscreen already pending.

@ammen99
Copy link
Member

ammen99 commented Oct 6, 2021

There are a couple pending accesses right in initialize() but I'm not sure how to even test them. Trying to e.g. launch vkquake preconfigured to start in fullscreen, it still does a fullscreen request later rather than initializing with fullscreen already pending.

I am not sure how to test this as well, but I assume it can happen - the xdg-shell protocol doesn't seem to forbid this, wlroots emits the new_surface event on the first commit, but the maximize request could have happened before that.

@JordanL2
Copy link
Contributor

JordanL2 commented Oct 7, 2021

Should we merge this fix and open an issue to investigate the other uses of pending?

@ammen99
Copy link
Member

ammen99 commented Oct 7, 2021

Should we merge this fix and open an issue to investigate the other uses of pending?

I think it is safe to assume that we can change the other uses without problems.

@valpackett
Copy link
Contributor Author

Changed the initialize ones as well.

Copy link
Member

@ammen99 ammen99 left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@ammen99 ammen99 merged commit 7355cf0 into WayfireWM:master Oct 10, 2021
@valpackett valpackett deleted the wlr-requested branch October 10, 2021 19:35
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.

3 participants