You need to extract the system app android.platform.overlay and decompile it. Search in public.xml (in res/values) for the value of the field named config_maxUiWidth (it should be a hex value not far from 0x7f070013)
Note: you could probably get the result easier using idmap2 but I didn't manage to do it and the decompilation method is pretty quick as well.
If the value is 0x7f070013, then you don't need to do anything and the Xperia 1 III Magisk module should work on the Pro-I. Otherwise, go in the Magisk module and decompile the apk file found in the system folder (there's a chain of single folders with the apk file at the end). Go to public.xml and update the value with what you found. Then recompile the apk,
sign the apk, and put it back in the Magisk zip module.
For a quick explanation of what this does (and I must thank
@phailyoor for his posts in the Xperia 1 IV forum) is that you can overwrite some ressources values in recent versions of Android, in a process called
RRO. Here, we're overwriting the config_maxUiWidth from 1096 (the full HD we're stuck with) from the FrameworkRes.apk to 0, disabling the limit and allowing wm size to go past 1096p.