Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

rootston: fix crash with fullscreen surfaces #1448

Merged
merged 1 commit into from
Jan 4, 2019

Conversation

valpackett
Copy link
Contributor

Fixes RetroArch fullscreen mode.

@emersion
Copy link
Member

emersion commented Jan 3, 2019

Hmm. Maybe we could un-fullscreen when un-mapping views instead?

@emersion
Copy link
Member

emersion commented Jan 4, 2019

Okay, I see that this also happens before views are mapped. Can you move the check at the beginning of view_for_each_surface? With ioquake3 this segfault happens in the presentation feedback codepath.

@valpackett valpackett force-pushed the fix-retroarch-crash branch from 7df09c1 to 4b2b8a9 Compare January 4, 2019 12:44
@valpackett
Copy link
Contributor Author

Updated. Does this fix ioq3?

rootston/output.c Outdated Show resolved Hide resolved
@emersion
Copy link
Member

emersion commented Jan 4, 2019

Yes, this does fix ioquake3 :)

Fixes fullscreen mode in e.g. RetroArch and ioquake3.
@valpackett valpackett force-pushed the fix-retroarch-crash branch from 4b2b8a9 to 57edfac Compare January 4, 2019 13:13
@emersion emersion merged commit aebd742 into swaywm:master Jan 4, 2019
@emersion
Copy link
Member

emersion commented Jan 4, 2019

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants