It disables completely the tabs creation when a new window is opened from an already fullscreen-ed window. That behavior creates issues related to window creation and destroy, especially when creating window with a prepared MTY_Frame. IMO, it also felt weird to have very different visual results when calling the exact same entry function with the exact same parameters, depending on the state of the application.
It fixes a crash that was consistently reproduced when closing fullscreened windows. The [NSWindow close] function being asynchronous, some events can still be fired after the struct window has been free'd (here, a resize event). The internal context is now nullified and null-checks have been added in event handlers.
This PR has few goals:
MTY_Frame
. IMO, it also felt weird to have very different visual results when calling the exact same entry function with the exact same parameters, depending on the state of the application.[NSWindow close]
function being asynchronous, some events can still be fired after thestruct window
has been free'd (here, a resize event). The internal context is now nullified and null-checks have been added in event handlers.