BrowserWorks / Waterfox-Classic

The Waterfox Classic repository, for legacy systems and customisation.
https://classic.waterfox.net
Mozilla Public License 2.0
175 stars 34 forks source link

Fix crash when clicking the green fullscreen button on MacOS 11.0 Big Sur and later #172

Closed dbsoft closed 1 year ago

dbsoft commented 1 year ago

This is hopefully the least impact that can be made, by selectively disabling the offending code only on the affected versions of MacOS.

Mozilla replaced this code entirely with a new titlebarHeight override method in current versions. This change does not switch to any new methods and just leaves everything as it was in unaffected versions.

I believe when this pull request is merged Issue #94 can probably be closed. It lists 3 problems, this fixes one of them, another was fixed by my previous pull request and the last sync issue sounded like it was fixed a while ago.

I also included a minor unrelated fix that is only used by an optional component in the build system. The fix allows the psutil python extension to build on MacOS and possibly FreeBSD.