- How MaxTo detects if a window was maximized
Maximizes windows in a weird way
Spotify's later versions maximize windows without sending a maximize event, instead just resizing their window to the entire monitor. This shim ensures MaxTo is able to pick up this fake maximize event.
This shim can be disabled in MaxTo if you go to Options, Compatibility, and clicking on Spotify. You should find a toggle switch to disable it.
Note that shims should only be disabled if you have a legitimate reason to do so, and accept that disabling them may cause applications to crash.
Compatibility shims are our way of telling MaxTo that some programs react badly to being handled by some of MaxTo's functionality.
Each compatibility shim has a description text and a list of functionality that is affected. Some are small and do not result in loss of functionality, others cause MaxTo not to work at all (and the reason for the compatibility shim then is simply to prevent apps from crashing).
This list is kept up to date outside of MaxTo's release cycle, and will be updated automatically by MaxTo.