Troubles on Linux - maximized window & split screen

I think it should be fixed in master. Not sure if the fix is in either of 4.7 branches (release and 4.7-linux). Fullscreen desktop windows get maximized by some WMs, we now set it to a bit smaller resolution when doing res changes.