Yeah, and there should be a special "get the actual full resolution of the screen" for those apps which use the special "draw to the actual full resolution of the screen" APIs. But the normal case should be for the OS to upheld the illusion that the screen has a 16:10 aspect ratio which excludes the part with the notch.
Or a (user-configurable) setting per app, and if the user configures the app to run below the notch, the OS should return the 16:10 resolutions and make the app draw below the notch; and if the user configures the app to take up the whole screen, the OS should return the full resolutions and make the app draw to the whole screen.
There should be no case where the app gets told about the 16:10.34 resolutions through normal display mode query APIs, but then gets scaled by the OS to fit in the 16:10 area below the notch.
Or a (user-configurable) setting per app, and if the user configures the app to run below the notch, the OS should return the 16:10 resolutions and make the app draw below the notch; and if the user configures the app to take up the whole screen, the OS should return the full resolutions and make the app draw to the whole screen.
There should be no case where the app gets told about the 16:10.34 resolutions through normal display mode query APIs, but then gets scaled by the OS to fit in the 16:10 area below the notch.